Skip to content

Releases: cyclosproject/ng-openapi-gen

0.8.1

02 Mar 11:19
Compare
Choose a tag to compare
  • text/json response type should be handled as JSON instead of text (#75)

0.8.0

19 Feb 19:21
Compare
Choose a tag to compare

Starting with this version, the generated code requires Angular 7+, and is compatible with Angular 9+.

Issues resolved:

  • Correctly handle multiple methods with similar suffixes (#64)
  • rootUrl is not defined when writing configuration template (#65)
  • Error on generation if the output path has a trailing slash (#66)
  • Models fail to compile if additionalProperties is combined with other fields (#68)
  • ModuleWithProviders references need to use an explicit generic type in angular 9 (#69)
  • application/x-www-form-urlencoded not generated correctly (#70)

0.7.2

08 Jan 12:45
Compare
Choose a tag to compare
  • Generate TSDoc @deprecated tag for deprecated elements (#58)

0.7.1

27 Dec 11:59
Compare
Choose a tag to compare
  • Error: ENOTEMPTY: directory not empty, rmdir './**/*' (#56)

0.7.0

20 Dec 20:31
Compare
Choose a tag to compare
  • Support the x-operation-name extension (#30)
  • Add support for model namespaces (#39)
  • Enums are not correctly generated (#40)
  • Generated model interfaces are lowercase (#41)
  • Support x-enumNames extension (#44)
  • Improve the file generation by generating in a sibling folder and synchronizing changes instead of removing the output folder (#46)
  • Single quotes in paths are not escaped (#47)
  • New configuration option to generate an index file (#50)
  • Missing import statement when using "oneOf" (#52)
  • "false" in path parameter is replaced by an empty string (#53)
  • FormData send all form data values as Blob (#55)

0.6.0

14 Aug 16:34
Compare
Choose a tag to compare
  • Model referenced in oneOf in path is ignored (#31)
  • Duplicate service methods using multiple similar content types (#33)
  • Query and header parameters with value 0 are dropped (#35)

0.5.2

26 Jul 16:37
Compare
Choose a tag to compare
  • README.md is not being published in the npm package (#29)

0.5.1

26 Jul 16:26
Compare
Choose a tag to compare
  • Use config-provided module name in module template (#25)
  • Syntax error on generate services if operationId is not a valid identifier (#26)
  • Models references in a property using oneOf are not being generated in 0.5.0 (#28)

0.5.0

15 Jul 12:21
Compare
Choose a tag to compare
  • Parse security information (#20)
  • No longer import / re-export HTTPClientModule (#21)
  • Use the generated static var for path in generated methods instead of the string (#16)
  • Don't collect model dependencies from oneOf (#22)

0.4.0

12 Jun 17:06
Compare
Choose a tag to compare
  • Allow passing the root url in ApiConfiguration.forRoot(...) #19
  • Not all models are generated when modelPrefix is given (#15)
  • The removeStaleFiles option is not working (#18)