Skip to content

Releases: acacode/swagger-typescript-api

10.0.2 Release

15 Oct 23:40
e8ffa3f
Compare
Choose a tag to compare

fix: problem with default http request headers in axios client
fix: host.fileExists is not a function
fix: other problems linked with new typescript version (4.8.*) (thanks @elkeis, @Jnig)
fix: problem with required nested properties based on root required properties list
fix: fetch http client headers content type priority
fix: fs.rmSync (thanks @smorimoto)
fix: locally overridden security schemes (security flag) (#418, thanks @EdwardSalter)
docs: add documentation for unwrapResponseData nodejs option (thanks @simowe)
BREAKING_CHANGE: rename .eta file extensions to .ejs. Backward capability should be existed.
fix: problem with --sort-types option

9.2.0 Release

14 Jul 10:57
7df956c
Compare
Choose a tag to compare

Features:

  • full response typing for status code, data and headers. (#272, thanks @rustyconover)
  • --unwrap-response-data to unwrap the data item from the response (#268, thanks @laktak)

Fixes:

9.1.2 Release

08 Jun 07:57
189dec0
Compare
Choose a tag to compare

Fixes:

  • Bug with --single-http-client and private http property

9.1.1 Release

04 Jun 07:52
7db7785
Compare
Choose a tag to compare

Fixes:

  • Critical bug linked with templateRequire in ETA templates
  • Critical bugs linked with --type-prefix, --type-suffix
  • Bug with nested objects in FormData (issue #262, thanks @avlnche64)

Internal:

  • Improve manual testing scripts

9.0.2 Release

03 May 17:06
0cbcbba
Compare
Choose a tag to compare

Fixes:

  • 9.0.1 won't build with tsc when imported (thanks @mastermatt)

9.0.1 Release

01 May 10:43
0272739
Compare
Choose a tag to compare

Fixes:

  • Can't compile 9.0.0 version (thanks @Nihisil )

9.0.0 Release

29 Apr 06:39
b4b11eb
Compare
Choose a tag to compare

NOTE: This version is not compatible with previous templates (removed route.request.params, apiConfig.props, apiConfig.generic, apiConfig.description, apiConfig.hasDescription)

Fixes:

  • Consider 2xx a successful status (thanks @wyozi)
  • GET method query option bug (thanks @rhkdgns95, @SaschaGalley)
  • silent property missed in .d.ts file (thanks @mastermatt)
  • axios file upload formData type (thanks @guhyeon)
  • make property instance to public in axios http client (It can be helpful in #226)
  • variable name "params" doesn't uniq (thanks @mixalbl4-127 )

Features:

  • --disableProxy option (thanks @kel666)
  • --extract-request-body option. Allows to extract request body type to data contract
  • Add TSDoc tag for deprecated route (thanks @wyozi)

8.0.3 Release

08 Apr 08:22
Compare
Choose a tag to compare
  • Fixes encoding array query params in fetch http templates (thanks @prog13)

8.0.2 Release

05 Apr 07:43
31e63c2
Compare
Choose a tag to compare

Fixes:

  • Wrong working the format option in fetch http client

8.0.1 Release

05 Apr 07:36
b226db3
Compare
Choose a tag to compare

Fixes:

  • Not working customFetch
    Error: Failed to execute 'fetch' on 'Window': Illegal invocation