New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@openapi-integration/openapi-schema

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openapi-integration/openapi-schema

openAPI schema interface for typescript.

latest
Source
npmnpm
Version
0.0.6
Version published
Maintainers
1
Created
Source

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

  • clone repo to your local
  • npm i
  • modify code to what you want
  • npm run generate to generate new interface for typescript

FAQs

Package last updated on 19 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts