forked from loafle/openapi-generator-original
#1809 replacing JSOG with JSON which is provided by the browser.
This commit is contained in:
parent
c3dfa5dbab
commit
d2510b6593
@ -72,7 +72,7 @@ export class {{classname}} {
|
||||
search: queryParameters
|
||||
};
|
||||
{{#bodyParam}}
|
||||
requestOptions.body = JSOG.stringify({{paramName}});
|
||||
requestOptions.body = JSON.stringify({{paramName}});
|
||||
{{/bodyParam}}
|
||||
{{#hasFormParams}}
|
||||
requestOptions.body = formParams.toString();
|
||||
|
Loading…
x
Reference in New Issue
Block a user