Skip to content

drg-adaptive/swagger-wiki

Repository files navigation

swagger-wiki

A cli to create wiki pages in a project based on swagger files.

oclif Version Downloads/week License

Usage

$ npm install -g swagger-wiki
$ swagger-wiki COMMAND
running command...
$ swagger-wiki (-v|--version|version)
swagger-wiki/1.0.17 darwin-x64 node-v10.16.0
$ swagger-wiki --help [COMMAND]
USAGE
  $ swagger-wiki COMMAND
...

Commands

swagger-wiki help [COMMAND]

display help for swagger-wiki

USAGE
  $ swagger-wiki help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

swagger-wiki update [PATH]

Generate wiki pages from swagger files

USAGE
  $ swagger-wiki update [PATH]

ARGUMENTS
  PATH  Path to the swagger files

OPTIONS
  -h, --help               show CLI help
  -v, --usePackageVersion  Use the version in package.json
  --prefix=prefix          Hard coded prefix to use
  --project=project        GitLab project ID
  --token=token            GitLab private token to use

See code: src/commands/update.ts

swagger-wiki update-gql [PATH]

Generate wiki pages from graphql files

USAGE
  $ swagger-wiki update-gql [PATH]

ARGUMENTS
  PATH  Path to the graphql files

OPTIONS
  -h, --help         show CLI help
  --prefix=prefix    Hard coded prefix to use
  --project=project  GitLab project ID
  --token=token      GitLab private token to use

See code: src/commands/update-gql.ts

About

Generate gitlab wiki pages from a swagger yaml file

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages