Releases: openapi-ts/openapi-typescript
Releases · openapi-ts/openapi-typescript
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
Wrapper support
🦍 Major changes
- Adds
--wrapper
option, letting you specify anynamespace
ormodule
wrapper for exporting types. See the README for full description
--namespace
and--export
options are now deprecated, in favor of the more versatile--wrapper
Export namespaces
🐣 Minor changes
- Now supports an
--export
option to export namespaces thanks to @tpdewolf
v1.1.2
v1.1.1
v1.1.0
🦍 Major changes
- Changes default behavior to preserve
snake_case
properties (you can still convert with--camelcase
)
🐣 Minor changes
- Bundles & ships with @pika/pack
Handle object types
🐛Bugfixes
- Falls back to
object
if it can’t grab properties