Exporting Files
What
You can export any files in Stoplight to use as you see fit. Exported files are served up in a unique domain in its raw format. Current exported file formats include:
JSON
- Documentation
- Modeling
- Testing
- Prism
- Config
Markdown
- Markdown
How
- Select the project that contains the file you wish to export
- Hover over the file you wish to export and click on the right facing arrow
- A new tab will open containing your exported file
Want a YAML file instead of JSON? Add
&format=yaml
to the end of your exported URL. E.g. https://next-api.stoplight.io/files.export?projectId=10198&branch=version%2F1.0&path=main.oas2.yml&format=yaml
Related Articles