mix openapi.dump (oaskit v0.3.0)
View SourceWrites an OpenAPI specification in a JSON file.
Synopsis
mix openapi.dump [options] <module>
Arguments
module
- An Elixir module with aspec/0
callback returning an OpenAPI specification.
Options
-o, --output <path/to/file.json>
- The desired output file path. Defaults to"openapi.json"
.--pretty
- JSON pretty-printing. Defaults totrue
.--help
- Displays this help.
Summary
Functions
Callback implementation for Mix.Task.run/1
.
Functions
Callback implementation for Mix.Task.run/1
.