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.
1 parent d63459c commit 473343fCopy full SHA for 473343f
modules/openapi-generator/src/main/resources/typescript-fetch/apis.mustache
@@ -291,7 +291,7 @@ export class {{classname}} extends runtime.BaseAPI {
291
{{^isDateTimeType}}
292
{{#isDateType}}
293
if (requestParameters['{{paramName}}'] instanceof Date) {
294
- urlPath = urlPath.replace(`{${"{{baseName}}"}}`, encodeURIComponent(requestParameters['{{paramName}}'].toISOString().substring(0,10));
+ urlPath = urlPath.replace(`{${"{{baseName}}"}}`, encodeURIComponent(requestParameters['{{paramName}}'].toISOString().substring(0,10)));
295
} else {
296
urlPath = urlPath.replace(`{${"{{baseName}}"}}`, encodeURIComponent(String(requestParameters['{{paramName}}'])));
297
}
0 commit comments