SwaggerHub integration

1. Get the SwaggerHub API definition URL

In SwaggerHub, click Share and Collaborate icon of your API. The dialog Share and Collaborate will be shown:

Copy the link and change app to api in the link:

Example:

https://app.swaggerhub.com/apis/toshihirosato/openapi/1.0.0

→ https://api.swaggerhub.com/apis/toshihirosato/openapi/1.0.0

The pattern of the URL is: https://api.swaggerhub.com/apis/{owner}/{api}/{version}

After getting the SwaggerHub API definition URL, you can enter it to the URL field of the macro.

 

2. Get an API Token

You can get an API Key from SwaggerHub and use it to access to private API definitions. To retrieve an API Key, click on your user name, click on API Key

In the API Key page, copy the API Key and enter it to the Access token field

 

DEMO