JSON / OPENAPI SCHEMA CONVERTER
CLI too for API documentation format conversion
Supports converting JSON Schema to 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 convert /path/to/schema.json
Convert JSON Schema to OpenAPI and dump YAML to the console:
asc convert --yaml /path/to/schema.json