3.0.0 • Published 7 years ago

kaltura-spec-converter v3.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

xml-api-schema-openapi-converter

Converts the Kaltura API schema XML to an Open API document

Usage

node refresh.js --schema https://www.kaltura.com/api_v3/api_schema.php --output ./openapi.json

--schema argument can be a URL or a local file.

You can exclude the --schema option by specifying environment variable TARGET_API as ott or ovp, e.g.

TARGET_API=ovp node refresh.js