Exporting an OpenAPI (Swagger 2.0) definition file for a REST API
After you create a REST API definition, you can export a file that contains the OpenAPI (Swagger 2.0) definition for the API.
About this task
Procedure
To export an OpenAPI (Swagger 2.0) definition file for a REST API, complete the following steps:
-
If you have not previously pinned the UI navigation pane then
click the Navigate to icon
.
The API Manager UI navigation pane opens. To pin the UI navigation pane, click the Pin menu icon.
-
Click Drafts in the UI navigation pane, and then click APIs.
The APIs tab opens.
- Click the REST API definition that you want to work with.
-
Click the More Actions icon
and then click Download.