File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 11# next release
22
3+ BREAKING_CHANGE: change swagger-typescript-api NodeJS "generateApi" function return type
4+
5+ ``` diff
6+ interface GenerateApiOutput {
7+ ...
8+ - files: { name: string; content: string; declaration: { name: string; content: string } | null }[];
9+ + files: { fileName: string; fileContent: string; fileExtension: string }[];
10+ ...
11+ }
12+ ```
13+
14+ internal: refactor schema parser code (preparing it for async code execution)
15+ internal: add discriminator property support (disabled for this release)
16+ internal: prepare code + templates for async code execution (next plans)
317fix: problems with dot in query params (hard fix) (#460 )
418feature: ability to send custom Ts output code translator to js. Example:
519``` ts
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ interface GenerateApiParamsBase {
77 name ?: string ;
88
99 /**
10- * path to folder where will been located the created api module.
10+ * path to folder where will be located the created api module.
1111 *
1212 * may set to `false` to skip writing content to disk. in this case,
1313 * you may access the `files` on the return value.
You can’t perform that action at this time.
0 commit comments