Releases: openapi-ts/openapi-typescript
Releases · openapi-ts/openapi-typescript
v1.7.0: Beta Support for v3, bugfixes
🌟 New Features
- Swagger v3 is no longer unsupported! 🎉 But it’s in beta. Which means errors will probably arise. Please test it out on your existing v3 schema, and file any bugs here.
🐣 Minor improvements
- The
--swagger
flag is now deprecated; this library will automatically parse the version from the schema.
🐛 Bugfixes
- Fixes a bug where
additionalProperties
weren’t respected for nestedproperties
(#92).
v1.6.2: Fix camelCasing on `$ref`s
v1.6.1: fix missing `type` definition
🐛 Bugfixes
- Fixes a bug where a definition with a missing
type
would be skipped, rather than assume it’s anobject
like Swagger does by default.
v1.6.0: support for x-nullable (#118)
🌟 New Features
v1.5.0: Convert names containing spaces to use underscores (#75)
🌟 New Features
Prints out JSDoc
Fix Nested array generation
🐛 Bugfixes
- Fix nested arrays (#54)
nowrapper CLI option
🐣Minor changes
- The
--nowrapper
flag was added to the CLI, courtesy of @scvnathan (#33). Now you don’t have to wrap your interfaces if you don’t want to!
Fix underscores in interfaces
🐛 Bugfixes
- This fixes underscores from accidentally appearing in some TypeScript interface names (#29)
kebab-case support
🐛 Bugfixes
- Swagger properties in
kebab-case
would break generation unless they were converted to--camelcase
(#13). This has been fixed! 🎉 You still have the option of converting to--camelcase
, but now you can keepkebab-case
too if needed