Exporting Files

Exporting Files


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:


  • Documentation
  • Modeling
  • Testing
  • Prism
  • Config


  • Markdown


  1. Select the project that contains the file you wish to export
  2. Hover over the file you wish to export and click on the right facing arrow
  3. 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