Skip to content

Releases: cyclosproject/ng-openapi-gen

0.52.0

09 Sep 17:37
Compare
Choose a tag to compare
  • Exclude API definitions with by matching the API path (#279)
  • Fix self-ref within schema inheritance (allOf) (#311)
  • "DO NOT EDIT" comments at the top of generated files (#314)
  • Adds option to maintain different media types of one one response type (#317)
  • Add an option to prevent model names capitalization (#319)

0.51.0

17 Nov 20:12
Compare
Choose a tag to compare
  • Allow generating an array with all enum model items (#303)

0.50.5

12 Nov 18:50
Compare
Choose a tag to compare
  • Duplicated generated parameters when the same name is in both shared and specific parameters (#297)

0.50.4

23 Oct 13:08
Compare
Choose a tag to compare
  • Wrong import path for model files in index.ts (#291)
  • Query parameters do not recognize "nullable": true if "required" is true (#293)
  • ApiService invalid syntax (#294)

0.50.3

09 Oct 11:59
Compare
Choose a tag to compare
  • Content type with equal sign in mime type shouldn't be encoded (#274)
  • Content-Type: application/json missing from multipart/form-data (#280)
  • Generation fails when functions have duplicate names and the generator address a post fix of 1 (#286)
  • Issue with reserved keyword delete (#287)

0.50.2

29 Aug 14:45
Compare
Choose a tag to compare
  • Fix model import with namespaces (#284)

0.50.1

25 Aug 11:17
Compare
Choose a tag to compare
  • Operation paths are always empty (#283)

0.50.0

24 Aug 19:22
Compare
Choose a tag to compare

Now requests are done by separated functions (#282).
Although the same API is generated by default, this is a major change, and as such, the version was bumped to a higher number (still in 0.x, though, from 0.25.x to 0.5.x).
It is possible to no longer generate services, and use only specific functions in code.
This helps reduce the bundle size of applications with a large API.
See https://github.com/cyclosproject/ng-openapi-gen#using-functional-api-calls

Some templates have significantly changed. So, if you have custom templates, please, rebase them to the latest ones.

Also, json-schema-ref-parser was downgraded due to (#267).

0.25.1

28 Jun 12:56
Compare
Choose a tag to compare

No requests were actually made :(

0.25.0

28 Jun 12:17
Compare
Choose a tag to compare
  • Template formatting tweaks (#262)
  • tslint, eslint disable added to models index file (#271)
  • Add support for explicit discriminators (#275)
  • Replace tslint by eslint (#277)