npm swagger-typescript-api 13.10.0
v13.10.0

5 hours ago

Minor Changes

  • #1754 9d493e8 Thanks @Upgrade220! - Add enumStyle option ("enum" | "union" | "const") to control enum output format. "const" generates as const objects with a companion type alias, including the built-in ContentType in the http-client. generateUnionEnums is deprecated in favor of enumStyle: "union".

Patch Changes

  • #1756 fed24c6 Thanks @Upgrade220! - Fix: combined query params object now correctly gets a default value of {} when all its fields are optional and no path params are present (extractRequestParams mode)

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

NewReleases is sending notifications on new releases.