@moontai0724/openapi-types
TypeScript icon, indicating that this package has built-in type declarations

3.1.7 • Public • Published

@moontai0724/openapi-types

NPM Version NPM Downloads

TypeScript types for OpenAPI specification.

Currently, this package only supports OpenAPI v3.1.

Install

NPM

npm install -D @moontai0724/openapi-types

Yarn

yarn add -D @moontai0724/openapi-types

PNPM

pnpm add -D @moontai0724/openapi-types

Usage

import type {
  OpenAPIObject,
  OperationObject,
} from "@moontai0724/openapi-types";

const openapi: OpenAPIObject = {
  openapi: "3.0.0",
  // ...
};

const operation: OperationObject = {
  // ...
};

API Document

See the API documentation.

Dependents (0)

Package Sidebar

Install

npm i @moontai0724/openapi-types

Weekly Downloads

0

Version

3.1.7

License

MIT

Unpacked Size

140 kB

Total Files

36

Last publish

Collaborators

  • moontai0724