Releases: openapi-ts/openapi-typescript
Releases · openapi-ts/openapi-typescript
v4.1.1
🐛 Bugfixes
- Fixes the remote schema URL cache being too long-lived by @mbelsky (#708)
v4.1.0
✨ New features
🐛 Bugfixes
"type": "file"
no longer generates unexpected results (#766)
v4.0.2
🐛 Bugfixes
- Loading in-memory schemas through the JS API resulted in broken
$ref
s (#689)
v4.0.1
🐛 Bugfixes
- Fixes
properties
+ anyOf
with only required
properties by @gr2m (#643)
v4.0.0
✨ New Features
- Now supports remote references (
$ref: "remote.yaml#/components/schemas/User
) 🎉 (#602)!
⚠️ Breaking Changes
- The Node.js API is now promise-based, and can no longer be run synchronously (a necessity because resolving remote schemas can never be synchronous). Other than that, there are no other breaking changes. CLI users are unaffected, and the types generated are backwards-compatible with previous versions.
v3.4.1
🐛 Bugfixes
v3.4.0
would accidentally generate empty folders alongside single-file schemas. This fixes that (#633).
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)