We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 69da1ea + 398bcd6 commit bd39f5eCopy full SHA for bd39f5e
modules/openapi-generator/src/main/resources/typescript-axios/apiInner.mustache
@@ -200,6 +200,9 @@ export const {{classname}}AxiosParamCreator = function (configuration?: Configur
200
{{/consumes.0}}
201
202
{{/bodyParam}}
203
+ {{#hasProduces}}
204
+ localVarHeaderParameter['Accept'] = {{#produces}}'{{{mediaType}}}'{{^-last}}; {{/-last}}{{/produces}};
205
+ {{/hasProduces}}
206
{{#headerParams}}
207
{{#isArray}}
208
if ({{paramName}}) {
0 commit comments