# `mix apify.spec.update`
[🔗](https://github.com/social-growth-studio/apify-client-ex/blob/v1.0.0/dev/mix/tasks/apify.spec.update.ex#L1)

Downloads the Apify OpenAPI description to `openapi/apify.json`.

    mix apify.spec.update
    mix apify.spec.update --url https://docs.apify.com/api/openapi.json

The file is stored byte for byte as served, so a refresh shows up as a readable
diff. Run `mix apify.gen` afterwards to regenerate the client.

## Options

  * `--url` - where to download the description from
    (default: `https://docs.apify.com/api/openapi.json`)

---

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