Skip to content

Releases: cyclosproject/ng-openapi-gen

0.50.4

23 Oct 13:08

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

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

Choose a tag to compare

  • Fix model import with namespaces (#284)

0.50.1

25 Aug 11:17

Choose a tag to compare

  • Operation paths are always empty (#283)

0.50.0

24 Aug 19:22

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

Choose a tag to compare

No requests were actually made :(

0.25.0

28 Jun 12:17

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)

0.24.1

26 Feb 14:21

Choose a tag to compare

  • Error logging errors early in the generation (#263)

0.24.0

02 Feb 12:32

Choose a tag to compare

  • Add "ignorecase" enumStyle option (#231)
  • OneOf (from official doc) not working (#233)
  • Add "silent" option to reduce console output (#237)
  • Fix context parameters collision (#239)
  • Parameter's descriptions are html escaped (#247)
  • Generate single letter ids unescaped (#249)
  • Nullable array elements are not generated nullable in models (#255)
  • Use deep imports for rxjs operators (#257)

Starting with this version, the ApiModule is no longer generated by default. If you still need it, you can set "module": "ApiModule" in the configuration file. However, the module itself is not needed (see #178) and it will no longer be generated in some future version.

Also, if you customize the HttpContext, it now needs to be passed as a second argument to the API call, and no longer as an additional context parameter, to avoid naming collisions (see #239)

0.23.0

02 Sep 12:09

Choose a tag to compare

  • Add "ignorecase" enumStyle option (#231)