Commit 0cea9f0
committed
feat(typescript-axios,typescript-fetch): sort model properties alphabetically
Call sortModelPropertiesByName in postProcessModels to ensure
deterministic code generation and prevent unnecessary diffs
between generations.1 parent 98fc410 commit 0cea9f0
2 files changed
Lines changed: 6 additions & 0 deletions
File tree
- modules/openapi-generator/src/main/java/org/openapitools/codegen/languages
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
294 | 297 | | |
295 | 298 | | |
296 | 299 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
393 | 396 | | |
394 | 397 | | |
395 | 398 | | |
| |||
0 commit comments