Releases: openapi-ts/openapi-typescript
Releases · openapi-ts/openapi-typescript
v4.5.0
v4.4.0
✨ New Features
- Adds TypeScript
@deprecated
comment to deprecated schema objects by @bunkscene
v4.3.0
🐣 Minor changes
🐛 Bugfixes
- An old bug is now gone!
openapi-typescript
would incorrectly generate{ [key: string]: unknown }
for a type when it may have been a string or number. Now it will generate a more genericunknown
type, unless it knows it’s dealing with an object for sure.
v4.2.0
v4.1.1
v4.1.0
v4.0.2
v4.0.1
v4.0.0
✨ New Features
- Now supports remote references (
$ref: "remote.yaml#/components/schemas/User
) 🎉 (#602)!
- 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.