Skip to content

Releases: cyclosproject/ng-swagger-gen

0.11.2

03 Apr 12:47
Compare
Choose a tag to compare
  • Response always null for Arrays (#47)

0.11.1

02 Apr 22:42
Compare
Choose a tag to compare
  • Make json-schema-ref-parser a dependency, not devDependency (#46)

0.11.0

02 Apr 17:06
Compare
Choose a tag to compare

Highlights:

  • Now the swagger definition can be specified in YAML too (thanks to @jfyne)
  • Support for file upload / download with Blobs
  • Support for inline enum definitions, that is, enums defined directly in model properties or service parameters
  • This release has changed several templates. So, if you use custom templates, please, update them.

Issues included in this release

  • Support YAML and better $ref's through json-schema-ref-parser (#44)
  • File download/upload support (#43)
  • Add support for inline enums (defined within a model) (#41)
  • Allow generating enum models without the exported enum module (#45)
  • Models get too many newlines in version 0.10.0 (#31)

0.10.0

15 Jan 13:01
Compare
Choose a tag to compare
  • Generate models as interfaces instead of classes (#25).
    This is a breaking change, but should only affect cases where models are instantiated, which should change.
// Old way:
let model = new Model();
// New way:
let model: Model = {};
  • Was not correctly generating comments on several places (#26)

0.9.4

24 Dec 13:12
Compare
Choose a tag to compare
  • Make it clear in the documentation that the generated code requires rxjs 5.5.0 or higher (#21)
  • Suffix duplicated operation ids, so the generated code doesn't break (#22)

0.9.3

20 Dec 13:37
Compare
Choose a tag to compare
  • Integrate jshint to provide source code linting (#19)
  • Correctly encode the plus sign on query parameters (#20)

0.9.2

30 Nov 20:50
Compare
Choose a tag to compare
  • JSON parse error if the swagger file includes the UTF-BOM marker character (#17)

0.9.1

30 Nov 12:28
Compare
Choose a tag to compare
  • Generate deep imports for RxJs lettable operators, to avoid increasing the generated code size (#18)

0.9.0

24 Nov 11:44
Compare
Choose a tag to compare

This is a major milestone. The Http module, previously used to make requests, has been deprecated by Angular in favor of the HttpClient module.

ng-swagger-gen has been refactored to generate code using HttpClient, but some breaking changes have been introduced. For details on how to migrate, please, check out the following page: Upgrading from previous versions to 0.9

0.8.1

23 Nov 13:11
Compare
Choose a tag to compare
  • Support tag names with punctuations (#14)