Open API (Swagger) Editor for Confluence

1)  Open API (Swagger) Viewer

Open API (Swagger) Viewer for Confluence is a macro which helps to display Open API JSON/YAML definition in Confluence page.

Usage

Create or edit a Confluence page, insert Open API (Swagger) Viewer from Macro Browser

An dialog will display, so you can input some information for your macro

If you host your JSON/YAML definition on a host, you can input it in URL box. For example: http://petstore.swagger.io/v2/swagger.json  or  https://petstore.swagger.io/v2/swagger.json

If you don't input the URL, this macro will use the JSON/YAML in the macro body. You can download an example here to paste to your macro body.

After saving your Confluence page, you can see a beautiful document page generated, and you can interact with your APIs.

 

2)  Open API (Swagger) Editor

Click on User Profile icon to open the drop down list, click on Swagger Editor to open Swagger Editor

In the Swagger Editor, you can compose your definition file and export to json/yaml file