npm swagger-typescript-api 1.10.0
1.10.0 release

latest releases: 13.2.9, 13.2.8, 13.2.7...
5 years ago

Features:

  • --templates CLI option. [feature request]
    Provide custom mustache templates folder which allows to generate custom code (models, Api class, routes)
  • --union-enums CLI option. [feature request]
    Allows to generate all enums as union types.
    For example, schema part:
    "StringEnum": {
      "enum": ["String1", "String2", "String3", "String4"],
      "type": "string"
    }
    
    will be converted into:
    export type StringEnum = "String1" | "String2" | "String3" | "String4";

Don't miss a new swagger-typescript-api release

NewReleases is sending notifications on new releases.