Skip to content

Releases: cyclosproject/ng-swagger-gen

1.6.1

18 Mar 14:45
Compare
Choose a tag to compare
  • Added support for hyphens in property names.( #169)

1.6.0

18 Mar 14:22
Compare
Choose a tag to compare
  • Make rootUrl customization easier (#166)
  • Add .editorconfig file (#67)
  • Path parameters cause additional method for "parameters" method to be generated (#167)

1.5.0

13 Feb 13:50
Compare
Choose a tag to compare
  • Support for Multiple Types (#149)
  • Fix for type null (#150)
  • Expose endpoint addresses (#154)
  • Enable generating from HTTP input when behind a proxy (#158) - thanks to @sebcramer
  • Models used only as arrays in service parameters are not imported (#162)

1.4.3

28 Dec 16:11
Compare
Choose a tag to compare

Special thanks to @profiprog which helped on correct generation on several corner cases

  • Missing import type of array if array is nested (#130)
  • Support of tuples (#131)
  • Enum does not work on number type (#133)
  • Add support for const (as special case of enum constant) (#134)
  • Add support for anyOf/oneOf at top level of object definition (#135)
  • All properties in nested objects are required, even if they are not defined so (#136)
  • Support setting a boolean value to additionalProperties (#137)
  • Not processing $refs in responses (#141)
  • Add aliases to imports, to prevent name clashes on generated services (#142)
  • When no scheme is specified in Swagger, the default rootUrl should be protocol-relative (#147)
  • Enum values with spaces generate a double underscore (#148)

1.4.2

12 Dec 10:58
Compare
Choose a tag to compare
  • Inconsistent path separators in console output (#117)
  • Double slash in request URL (#118)
  • Add support for anyOf / oneOf on generated types (#129)

1.4.1

12 Nov 10:57
Compare
Choose a tag to compare
  • With version 1.4 following minimal instructions angular/cli is throwing typescript compiler exception (#115)

1.4.0

05 Nov 13:27
Compare
Choose a tag to compare
  • Make generated code compile with noUsedLocals and noUnusedParameters tsconfig flags (#104)
  • Use the base path as the root url if host is undefined (#113). Thanks to @neo
  • Add support for x-nullable (#114). Thanks to @aersamkull

1.3.3

01 Nov 00:58
Compare
Choose a tag to compare
  • Path parameters with underscore generates invalid classes (#110)

1.3.2

27 Sep 12:48
Compare
Choose a tag to compare
  • Plain string responses are no longer handled as text (#102)

1.3.1

26 Sep 17:36
Compare
Choose a tag to compare
  • Import missing for types inside a nested key-value map (#99)
  • Generated BaseService doesn't compiles when using a custom prefix (#100 thanks to @fabiodcorreia)