Creating an OAS
I won’t spend a lot of time on the Swagger tools that are used for OpenAPI specifications, but I do want to give you at least an introduction to the subject so that you can use these tools in your API testing if you want. In this section, you will learn how to create and edit these files in the Swagger Editor. You will also learn what an API schema is and how to codify one in an API specification. To demonstrate these things, I will use the Swagger Petstore API. This is an example API that already has the OAS built for it. It is a good way to get started with using OpenAPI and is used in its documentation a lot as well.
The OAS enables a lot of value and has a lot of available features. In this section, I will quickly skim through using it.
The Swagger Editor is an online tool for editing the OAS. You can access it at https://editor.swagger.io/. When you first open that in your browser, it will load the example Petstore API. If you have used the editor...