Releases: openapi-ts/openapi-typescript
Releases · openapi-ts/openapi-typescript
v3.4.0
✨ New Features
🐥 Minor changes
- Reverts #613 and adds a
--default-non-nullable
flag (#631)
v3.3.1
🐛 Bugfixes
- Schema objects that have a
default:
property shouldn’t be marked as nullable (#613)
v3.3.0
🐣 Minor changes
- Changes default behavior of #585 to require an opt-in
--additional-properties
flag (#607)
- Adds
-c
shortcut alias for --prettier-config
(#607)
- Adds
-it
shortcut alias for --immutable-types
(#607)
v3.2.4
🐛 Bugfixes
additionalProperties
now default to true
per the OpenAPI 3.0 spec by @mehalter (#583)
v3.2.3
🐛 Bugfixes
- Fixed a parse error on
enum: []
(#563)
- Fixed another parse error on responses missing schemas (#565)
- Fixed a bug with the latest version of Prettier and
options.prettierConfig
(#566)
v3.2.2
🐛 Bugfixes
- RequestBodies that had hyphens in their name would generate an error (#550). Thanks (again), @ashsmith!
v3.2.1
🐛 Bugfixes
- Fixed an issue where a comment within a schema definition would break type gen (#548). Thanks, @ashsmith!
v3.2.0
✨ New features
- Added a new
--immutable-types
flag to generate readonly
schemas by @dnalborczyk (#522)
- The
operations
interface has been improved with inherited parameters by @henhal (#530)
v3.1.2
🐛 Bugfixes
- Fixes package types for TypeScript projects (#520)
v3.1.1
🐛 Bugfixes
- Better handles remote schema content types (#516)