Saving and Exporting Your API
Now that you have a good idea of what an OAS document looks like, we can cover saving and exporting a completed OAS document. For this part of the book, go ahead and load my completed Onboarding API OAS document from the code folder for this chapter and paste it into your open editor.[61] You can use the initial onboarding-api definition you started at the beginning of this lesson, or use the SwaggerHub editor to create a brand new OAS definition. Whichever you use, just copy-paste the OAS file from disk into the web page and let the SwaggerHub editor parse the document for any bugs or problems.
Once you paste the full document into the editor, it should look like this:
You can save your OAS edits using the Save ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access