diff --git a/openapi.yaml b/openapi.yaml index 27360cc..a6e965e 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -90,9 +90,7 @@ paths: content: application/json: schema: - type: array - items: - $ref: "#/components/schemas/productionOrder" + $ref: "#/components/schemas/productionOrder" 404: description: No such productionOrder entries available /pdb/v2/baseData/{articleNumber}: diff --git a/regular.cs.tmpl b/regular.cs.tmpl index 93577b9..015025f 100644 --- a/regular.cs.tmpl +++ b/regular.cs.tmpl @@ -100,9 +100,9 @@ $operation['statement']#slurp #end if ", #slurp #if $operation['isList'] -true, #slurp - #else false, #slurp + #else +true, #slurp #end if #if $operation['bodyInputType'] $operation['bodyInputType']['apiName']#slurp