Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

openapi-gen-typescript

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openapi-gen-typescript

Generate typescript code for openapi.

  • 0.2.0
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-75%
Maintainers
1
Weekly downloads
 
Created
Source

openapi-gen-typescript

Generate typescript code for openapi.

Usage

gen({
    url: 'https://petstore.swagger.io/v2/swagger.json',
    version: "2",
    outputDir: `${__dirname}/gen`
});

doc

ParamDescription
urlThe url of fetch openapi or swagger data
pathThe filePath of fetch openapi or swagger data
versionThe version of Swagger or OpenApi, example: 2, 3
outputDirDir of output files
fetchModuleFileFetch impl file path
handlePostScriptpost script to customize the result

FAQs

Package last updated on 07 Feb 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc