How to import a OpenAPI definition

With WebMaestro it is possible to import a OpenAPI defintion to create sample requests that can be used to call a REST API.

In this example we will import the OpenAPI definition for the Swagger Petstore OpenAPI v3 sample.

  1. Start with opening WebMaestro.
  2. Click on the Import OpenAPI Defintion button in the Collection Explorers.

Click the Import OpenAPI Defintion buttton

  1. Open your browser and navigate to https://petstore3.swagger.io/.

  2. Copy the URL to the OpenAPI defintion in the address bar on the top of the page.

Copy URL to the OpenAPI definition

  1. Switch back to WebMaestro and paste the URL into the Import From Url textbox.

Paste URL into Import from URL textbox

  1. Click OK to import the definition.

  2. Expand the collection Swagger Petstore - OpenAPI 3.0 and the expand the Requests node to view the requests included in the definition.

View requests in the OpenAPI definition