mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-03 06:00:52 +00:00
Fix incorrect returnType instead of dataType
This commit is contained in:
parent
29b6b771d7
commit
337eeecd75
@ -265,7 +265,7 @@ export class {{classname}} extends runtime.BaseAPI {
|
|||||||
{{/isEnumRef}}
|
{{/isEnumRef}}
|
||||||
{{^isEnumRef}}
|
{{^isEnumRef}}
|
||||||
{{^withoutRuntimeChecks}}
|
{{^withoutRuntimeChecks}}
|
||||||
formParams.append('{{baseName}}', new Blob([JSON.stringify({{returnType}}ToJSON(requestParameters['{{paramName}}']))], { type: "application/json", }));
|
formParams.append('{{baseName}}', new Blob([JSON.stringify({{datatype}}ToJSON(requestParameters['{{paramName}}']))], { type: "application/json", }));
|
||||||
{{/withoutRuntimeChecks}}{{#withoutRuntimeChecks}}
|
{{/withoutRuntimeChecks}}{{#withoutRuntimeChecks}}
|
||||||
formParams.append('{{baseName}}', new Blob([JSON.stringify(requestParameters['{{paramName}}'])], { type: "application/json", }));
|
formParams.append('{{baseName}}', new Blob([JSON.stringify(requestParameters['{{paramName}}'])], { type: "application/json", }));
|
||||||
{{/withoutRuntimeChecks}}
|
{{/withoutRuntimeChecks}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user