Skip to content

Commit 53756d5

Browse files
authored
Add dockerfile with nginx instead of node (#172)
1 parent c5c9612 commit 53756d5

21 files changed

+64
-8
lines changed

assets/openapi/client-template/js/ApiClient.mustache

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,7 @@ class ApiClient {
5959
* @type {Array.<String>}
6060
* @default {}
6161
*/{{/emitJSDoc}}
62-
this.defaultHeaders = {
63-
'User-Agent': '{{{httpUserAgent}}}{{^httpUserAgent}}OpenAPI-Generator/{{projectVersion}}/Javascript{{/httpUserAgent}}'
64-
};
62+
this.defaultHeaders = {};
6563

6664
/**
6765
* The default HTTP timeout for all API calls.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)