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 6898763 + 41aa80a commit d0afd25Copy full SHA for d0afd25
modules/swagger-codegen/src/main/resources/typescript-fetch/api.mustache
@@ -216,7 +216,7 @@ export const {{classname}}FetchParamCreator = function (configuration?: Configur
216
localVarHeaderParameter['Content-Type'] = 'application/json';
217
{{/consumes}}
218
{{#consumes.0}}
219
- localVarHeaderParameter['Content-Type'] = '{{mediaType}}';
+ localVarHeaderParameter['Content-Type'] = '{{{mediaType}}}';
220
{{/consumes.0}}
221
222
{{/bodyParam}}
0 commit comments