@ahmttyydn/openapi-types
v1.0.9
Published
Modern OpenAPI types
Maintainers
Readme
Scalar OpenAPI Types
Modern OpenAPI parser written in TypeScript, with support for Swagger 2.0, OpenAPI 3.0, 3.1 and 3.2
Installation
npm add @ahmttyydn/openapi-typesUsage
import type { OpenAPI } from '@ahmttyydn/openapi-types'
const file: OpenAPI.Document = {
openapi: '3.1.0',
info: {
title: 'Hello World',
version: '1.0.0',
},
paths: {},
}Community
We are API nerds. You too? Let's chat on Discord: https://discord.gg/scalar
License
The source code in this repository is licensed under MIT.
