mix openapi.dump (oaskit v0.3.0)

View Source

Writes an OpenAPI specification in a JSON file.

Synopsis

mix openapi.dump [options] <module>

Arguments

  • module - An Elixir module with a spec/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 to true.
  • --help - Displays this help.

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

run(argv)

Callback implementation for Mix.Task.run/1.