← Browse tools
LibraryCoding

OpenAPI Spec

TypeScript types, a downgrader and a router for OpenAPI 3.0, 3.1 and 3.2. Types carry the spec text as JSDoc, the downgrader converts 3.2 to 3.1 to 3.0, and the router matches requests against path templates like /planets/{id}.

Version
0.7.1
License or terms
MIT

Installation or connection

Install the package you need: npm install @openapi-spec/types # TypeScript types for OpenAPI 3.0/3.1/3.2 npm install @openapi-spec/downgrader # downgrade documents 3.2 -> 3.1 -> 3.0 npm install @openapi-spec/router # match requests against OpenAPI path templates

Manual setup

None declared.

Pricing

Free and open source

Review scope

Checked the MIT GitHub repository and the three npm packages named in the listing. The packages were not installed.

Setup reviewed on 2026-12-03. This is not a guarantee of every model or platform.