Open API (Swagger) for Confluence
Install
You can install the app from Atlassian Marketplace: Open API (Swagger) for Confluence FREE
User Guide
Open a Confluence page in edit mode
Type
/openapior click + → OpenAPI - Swagger UIThe macro will appear with a "Configuration Required" message
Configuring Your API Spec
Click the pencil icon on the macro to open the configuration panel
You'll see a split-pane editor:
Left: Paste your OpenAPI/Swagger specification (JSON or YAML)
Right: Live preview of your API documentation
Click Load Sample to see an example spec
Once your spec looks correct in the preview, click Save
Supported Formats
Format | Example Start |
|---|---|
YAML |
|
JSON |
|
The editor auto-detects your format — no configuration needed.
Tips
Get your spec: Export from tools like Swagger Editor, Postman, or your API framework
Large specs: The macro handles full OpenAPI 3.x and Swagger 2.0 specifications
Multiple APIs: Add multiple macros to document different services on one page