Releases: openapi-ts/openapi-typescript
Releases · openapi-ts/openapi-typescript
v6.2.6
v6.2.5
v6.2.4
v6.2.3
v6.2.2
🐛 Bugfixes
- Fix path generation by @HiiiiD (#991)
- If no type is specified, type as
unknown
by @mitchell-merry (#1049) - Ensure not required parameters are created as optional properties by @AplusKminus (#1053)
- Fix missing type defs (#1072)
- De-duplicate unions by @mitchell-merry (#1069)
- Fix tuples type generation support by @liangskyli (#1011)
v6.2.1
v6.2.0
✨ New Features
- New
--empty-objects-unknown
flag for better control over unspecified object types’ default shape by @duncanbeevers (#1032)
🐛 Bugfixes
- JSDoc improvements by @mitchell-merry (#1029)
- Fix readonly nullable properties by @mtth (#1036)
- Tiny QoL improvements to invalid schema errors (#1043)
v6.1.1
🐛 Bug fixes
- Fix response key for HTTP ranges (#1010) @stefanmaric
- Escape constant string in generated schema (#1014) @mvdbeek
- Support fully-qualified refs as discriminator mapping values (#1017) @sgrimm
- Improve behavior of
allOf
+ required properties (#1027) @Swiftwork - Make params non-nullable even if all params are optional (#1022) @sgrimm
v6.1.0
✨ New Features
- Adds webhook typings by @yacinehmito (#1001)
- Use undici’s
fetch()
instead ofrequest()
which can be overridden locally by @yacinehmito (#1002) - Adds type helpers only when used by @imagoiq (#992)
🐛 Bug fixes