TypeScript tooling for the OpenAPI Specification, maintained by middleapi. It lets you work with OpenAPI 3.0, 3.1, and 3.2 documents from one place: precise types for each version, and converters that move a document from a newer version to an older one without losing anything the older version can still express.
| Package | Description |
|---|---|
@openapi-spec/types |
TypeScript types for OpenAPI 3.0, 3.1, and 3.2, with the specification text as JSDoc on every field |
@openapi-spec/downgrader |
Downgrade documents and Schema Objects one minor version at a time: 3.2 to 3.1 and 3.1 to 3.0 |
pnpm install
pnpm test
pnpm lint
pnpm type:checkLike what we build over at middleapi? You can help keep it going through GitHub Sponsors or Open Collective. Every bit helps! 🚀
The screenshot API for developers |
We're hiring NYC based engineers |
MisskeyHQDecentralized microblogging SNS born on Earth |
LN Markets |
With thanks to 36 past sponsors who helped get openapi-spec here.
Distributed under the MIT License. See LICENSE for more information.
MisskeyHQ