Skip to main content
There’s no site-wide settings screen. The macro is configured individually, the first time you insert it on a page and any time afterward you choose to edit it.

Better Swagger UI macro

Renders an OpenAPI or Swagger document as an interactive Swagger UI panel. Choose OpenAPI document type first — it determines whether you provide a URL or paste the document directly, and only the matching field is required. With OpenAPI document type set to URL, the form shows the URL field:
Better Swagger UI macro configuration form with document type set to URL
With it set to Content, the URL field is replaced by the Content text area:
Better Swagger UI macro configuration form with document type set to Content

Display options

Better Swagger UI macro configuration Display options
Fields left empty, or checkboxes left unchecked, aren’t saved to the macro’s config — Swagger UI falls back to its own built-in defaults for anything not explicitly set.

Permissions

Anyone with edit access to a Confluence page can insert the macro and change its configuration. Page viewers without edit access only see the rendered output.