# `mix openapi.dump`
[🔗](https://github.com/lud/oaskit/blob/v0.13.1/lib/mix/tasks/openapi.dump.ex#L1)

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.

# `run`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
