Expose a Downloadable Version of your API Specification
What
Expose an easily accessible downloadable version of your API Specification in published documentation via a link.
How
There are two methods for adding a downloadable version
Within a Documentation File
- Select the documentation file you want to modify
- Reference an OpenAPI File in your documentation file
- Check Include Download Link?
Via Specification Extension
- Select the modeling file you want to modify
- Select code view
- Add the extension
x-stoplight: { docs: { includeDownloadLink: true } }
to your API Specification
Related Articles