Skip to content

Commit 58d78c4

Browse files
committed
Changes from generation clean-up.
1 parent b0172a5 commit 58d78c4

54 files changed

Lines changed: 69 additions & 148 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/generators/typescript.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
4242
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
4343
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
4444
|supportsES6|Generate code that conforms to ES6.| |false|
45+
|useErasableSyntax|Use erasable syntax for the generated code. This is a temporary feature and will be removed in the future.| |false|
4546
|useInversify|Enable this to generate decorators and service identifiers for the InversifyJS inversion of control container. If you set 'deno' as 'platform', the generator will process this value as 'disable'.| |false|
4647
|useObjectParameters|Use aggregate parameter objects as function arguments for api operations instead of passing each parameter as a separate function argument.| |false|
4748
|useRxJS|Enable this to internally use rxjs observables. If disabled, a stub is used instead. This is required for the 'angular' framework.| |false|

samples/client/echo_api/typescript/build/apis/exception.ts

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/client/echo_api/typescript/build/auth/auth.ts

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/client/echo_api/typescript/build/middleware.ts

Lines changed: 1 addition & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/client/others/typescript-rxjs/allOf-composition/servers.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ export class ServerConfiguration<T extends { [key: string]: string }> {
2525
}
2626

2727
/**
28-
* Constructions the URL this server using the url with variables
29-
* replaced with their respective values
28+
* Constructs the URL for this server using the url with variables
29+
* replaced with their respective values.
3030
*/
3131
public getUrl(): string {
3232
let replacedUrl = this.url;
3333
for (const key in this.variableConfiguration) {
3434
if (this.variableConfiguration.hasOwnProperty(key)) {
35-
const re = new RegExp("{" + key + "}","g");
36-
replacedUrl = replacedUrl.replace(re, this.variableConfiguration[key]);
35+
const re = new RegExp("{" + key + "}", "g");
36+
replacedUrl = replacedUrl.replace(re, this.variableConfiguration[key]);
3737
}
3838
}
3939
return replacedUrl;

samples/client/others/typescript/builds/array-of-lists/apis/exception.ts

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/client/others/typescript/builds/array-of-lists/auth/auth.ts

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/client/others/typescript/builds/array-of-lists/middleware.ts

Lines changed: 1 addition & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/client/others/typescript/builds/enum-single-value/apis/exception.ts

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/client/others/typescript/builds/enum-single-value/auth/auth.ts

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)