npm swagger-typescript-api 8.0.0
8.0.0 Release

latest releases: 13.0.3, 13.0.2, 13.0.1...
3 years ago

BREAKING_CHANGES:

  • remove default json format of the response type (both for axios and fetch http clients) (issue #213, thanks @po5i)

Features:

  • Allow passing custom fetch function (fetch http client only)
  • Allow to set global response type format through HttpClient constructor
    Example:
    const httpClient = new HttpClient({ format: 'json' });
    // all request responses will been formatted as json  

Fixes:

  • Missing schema.$ref in inline enum schemas
  • Array query param values are serialized with the (non-default) comma separated style (issue #222, thanks @Styn, PR #223)
  • TypeScript error "TS6133: 'E' is declared but its value is never read." (axios http client) (issue #220, thanks @pmbednarczyk )

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

NewReleases is sending notifications on new releases.