Skip to content

Releases: cyclosproject/ng-openapi-gen

1.0.5

24 Nov 20:14

Choose a tag to compare

  • Index imports with reserved words do not have a $ suffix (#383)
  • Empty export in index.ts if apiService: false (#386)
  • Add a provider for the ApiConfiguration instance (#388)
  • Duplicated X-Operation-Name Attribute Is Ignored And Not Generated (#389)
  • Fix imports when type is an array with 'array' type (#390)

1.0.4

20 Oct 18:14

Choose a tag to compare

  • Required properties on an extended schema are not handled expectedly (#108)
  • Missing export type for function parameters causes compilation error with isolatedModules (#378)
  • Duplicate function exports (#379)
  • Not exporting index for the api service (#380)

1.0.3

25 Sep 13:46

Choose a tag to compare

  • Services are generated with inline models instead of typed models in 1.0+ (#375)
  • Union Types instead of Enums in Object (#376)
  • Unnecessary map import on services when generating with promises (#377)

1.0.2

24 Sep 14:07

Choose a tag to compare

  • Generated API service contains uncompilable code when using observables (#369)
  • SyntaxError: Unable to resolve $ref pointer "http://localhost:8080/v3/api-docs" (#372)
  • NgModule still generated by default in 1.x (#373)
  • General index, if generated and services not generated, included invalid service references (#374)

1.0.1

19 Sep 17:40

Choose a tag to compare

Fixed a packaging error

1.0.0

19 Sep 17:33

Choose a tag to compare

Note: Due to a last-time packaging error, the 1.0.0 version doesn't run as a installed dependencies. Please, use 1.0.1.

This version marks a milestone for the project: support for OpenAPI 3.1 was added. We have also taken the opportunity to modernize several default options, as well as a promises-based API instead of Observables. See #364 for more details.

The old options are all still available. Refer to https://github.com/cyclosproject/ng-openapi-gen?tab=readme-ov-file#migrating-from-previous-versions-to-10 for which configuration options need to be changed for the generator to keep working as before.

For new projects, however, it is recommended to use the new approach.

Other fixes included:

  • Discriminator missing on 2nd level of inheritance (allOf) (#363)
  • Duplicate service methods when using 'application/cbor' on both request and response (#354)
  • Add functionIndex config (#348)

0.53.0

07 Apr 19:23

Choose a tag to compare

  • Do not emit an empty module export in the index if no module is required (#338)
  • Support "const" (#339)
  • Do Type-Only Exports #343
  • Ordering of imports is language dependent (#352)

0.52.0

09 Sep 17:37

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

Choose a tag to compare

  • Allow generating an array with all enum model items (#303)

0.50.5

12 Nov 18:50

Choose a tag to compare

  • Duplicated generated parameters when the same name is in both shared and specific parameters (#297)