cyclosproject / ng-openapi-gen

An OpenAPI 3.0 codegen for Angular
MIT License
397 stars 132 forks source link

OpenAPI parameter options are not used in services #98

Closed karsa-mistmere closed 4 years ago

karsa-mistmere commented 4 years ago

Parameter options are created in parameter.ts, but are never actually used in operationResponse.handlebars, resulting in parameters of deepObject style being sent to servers incorrectly. The changes below fix this by adding parameterOptions to the request builder query parameters. Changes to parameter.ts are crucial, as handlebars is unfortunately unable to output the stringified JSON using a getter.