Releases: cyclosproject/ng-swagger-gen
Releases · cyclosproject/ng-swagger-gen
0.11.2
- Response always null for Arrays (#47)
0.11.1
- Make json-schema-ref-parser a dependency, not devDependency (#46)
0.11.0
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
- 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
- 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
- Integrate jshint to provide source code linting (#19)
- Correctly encode the plus sign on query parameters (#20)
0.9.2
- JSON parse error if the swagger file includes the UTF-BOM marker character (#17)
0.9.1
- Generate deep imports for RxJs lettable operators, to avoid increasing the generated code size (#18)
0.9.0
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
- Support tag names with punctuations (#14)