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

0.0.6 • Public • Published

OpenAPI-schema

this tool is built for generating typescript interface of OpenAPI schema.

json file is from OpenAPI-Specification, you can also find yaml file there, thanks for the maintenance.

NOTE

this tool only for OpenAPI v3.0.x now

install

  npm install -D @openapi-integration/openapi-schema

use

  import { Spec } from "@openapi-integration/openapi-schema";

  console.log(Spec);

How to Start

  1. clone repo to your local
  2. npm i
  3. modify code to what you want
  4. npm run generate to generate new interface for typescript

Readme

Keywords

none

Package Sidebar

Install

npm i @openapi-integration/openapi-schema

Weekly Downloads

0

Version

0.0.6

License

ISC

Unpacked Size

9.71 kB

Total Files

4

Last publish

Collaborators

  • teobler