TypeScript types, a downgrader, and a router for OpenAPI 3.0, 3.1, and 3.2. Maintained by middleapi, built with oRPC in mind.
| 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 |
@openapi-spec/router |
Match HTTP requests against OpenAPI path templates such as /planets/{id} and /files/{+path} |
pnpm install
pnpm test
pnpm check
pnpm benchLike 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 39 past sponsors who helped get openapi-spec here.
middleapi is supported by these open source programs:
Claude |
Pullfrog |
Macroscope |
Distributed under the MIT License. See LICENSE for more information.
MisskeyHQ