This package contains TypeScript definitions for OpenAPI. It may be useful in all kind of TypeScript projects that work with OpenAPI directly, for example, in code generators, in documentation generators and other kinds of projects.
Since OpenAPI specification relies on JSON Schema specification, this package also has @fosfad/json-schema-typescript-definitions package in its dependencies which provides type definitions for JSON Schema.
Types and interfaces for writing valid OpenAPI specification in TypeScript.注意:该包已被作者标记为弃用——Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.