swagger-typescript-api 11.0.0--alpha-2 → 11.0.0--alpha-3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +5 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -191,6 +191,11 @@ const program = cli({
191
191
  description: "generate array types as Array<Type> (by default Type[])",
192
192
  default: false,
193
193
  },
194
+ {
195
+ flags: "--sort-types",
196
+ description: "sort fields and types",
197
+ default: false,
198
+ },
194
199
  ],
195
200
  });
196
201
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swagger-typescript-api",
3
- "version": "11.0.0--alpha-2",
3
+ "version": "11.0.0--alpha-3",
4
4
  "description": "Generate typescript/javascript api from swagger schema",
5
5
  "scripts": {
6
6
  "cli:json": "node index.js -r -d -p ./swagger-test-cli.json -n swagger-test-cli.ts",