REST-OPENAPI connector

CLI Commands

ol test connection

[module folder]> ol test connection --host https://petstore.swagger.io/
[module folder]$ ol test connection --host https://petstore.swagger.io/

ol add

[module folder]> ol add --source-path .\petstore-new.json
[module folder]$ ol add --source-path .\petstore-new.json

Properties

--source-path (required)

The path to a local JSON or YAML document that the REST-API connector parses

--source-path .\petstore-new.json

--host (required)

The name or IP of the server hosting the data source

--host https://petstore.swagger.io/