1.1.2 • Published 2 years ago

@bgcbrasil/swagger-ui-formatter v1.1.2

Weekly downloads
-
License
ISC
Repository
bitbucket
Last release
2 years ago

@bgcbrasil/swagger-ui-formatter

What is this repository for?

  • Quick summary
    • Simple CLI library responsible to transform a Swagger specification file into BGC's format
  • Version
    • 1.0.0

How do I get set up?

  • To set up you must run npm install to fetch dependencies;
  • This repository is commitizen friendly, so if you wanna use it you must install package globally npm install -g commitizen

How to use it

  • You should be able to run the CLI with:
    • npx @bgcbrasil/swagger-ui-formatter <command> <options>
  • Commands:
    • format
OptionTypeRequiredDefault valueDescription
–documentationPathStringtrue-Relative path where we can find the default Swagger JSON documentation definition
–defaultTagStringfalse“public”Default Swagger tag added to endpoints
–outputPrefixStringfalse“documentation”Default prefix added to generated files, ex.: “documentation” prefix will generate documentation.json and documentation_external.json files
–setAuthorizationBooleanfalsetrueIf true will set BGC Authorization on Swagger authorizers
–deleteOptionMethodsBooleanfalsetrueIf true will remove all option methods
1.1.1

2 years ago

1.1.0-dev.2

2 years ago

1.1.0

2 years ago

1.1.0-dev.1

2 years ago

1.1.1-dev.1

2 years ago

1.1.2

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago