Socket
Socket
Sign inDemoInstall

api-schema-conv

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api-schema-conv

JSON Schema & OpenAPI Schema CLI converter


Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

JSON / OPENAPI SCHEMA CONVERTER

CLI too for API documentation format conversion

Supports converting between JSON Schema and OpenAPI format.

Install

npm i -g api-schema-conv
yarn global add api-schema-conv

Usage

Convert JSON Schema to OpenAPI and dump JSON to the console:

asc js2oa /path/to/schema.json

... or to output YAML:

asc js2oa --yaml /path/to/schema.json

Convert OpenAPI YML file to JSON schema:

asc oa2json /path/to/openapi.json
asc oa2json /path/to/openapi.yaml

Keywords

FAQs

Package last updated on 13 Sep 2018

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