Importing an OpenAPI Specification
To show the import process for an OpenAPI specification, we use the specification for the public example REST API; that is, the Swagger Petstore.
The specification for the Swagger Petstore can be found at https://petstore.swagger.io/ or by making a GET REST request to https://petstore.swagger.io/v2/swagger.json.