swaggerhub-cli-plugin-schema

A plugin to fetch schemas from schemastore.org

oclif Version Downloads/week License

Usage

$ npm install -g swaggerhub-cli-plugin-schema
$ oclif-example COMMAND
running command...
$ oclif-example (-v|--version|version)
swaggerhub-cli-plugin-schema/0.0.0 linux-x64 node-v12.13.1
$ oclif-example --help [COMMAND]
USAGE
  $ oclif-example COMMAND
...

Commands

oclif-example schema:get SCHEMA-NAME

Fetch a JSON Schema named NAME.

USAGE
  $ oclif-example schema:get SCHEMA-NAME

ARGUMENTS
  SCHEMA-NAME  The JSON Schema to fetch. See schema:list for a list.

DESCRIPTION
  ...
  Extra documentation goes here

See code: src/commands/schema/get.js

oclif-example schema:list

List the schemas available

USAGE
  $ oclif-example schema:list

DESCRIPTION
  ...
  List the schemas available from schemastore.org

See code: src/commands/schema/list.js