Socket
Book a DemoInstallSign in
Socket

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
Package was removed
Sorry, it seems this package was removed from the registry

api-schema-conv

JSON Schema & OpenAPI Schema CLI converter

unpublished
latest
Source
npmnpm
Version
0.9.0
Version published
Maintainers
1
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

openapi

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.