Specpane: User guide

Specpane: OpenAPI (Swagger) Viewer for Confluence

Show interactive API documentation on any Confluence page, from a page attachment, a Git repository, or pasted text.

Add a viewer to a page

  1. Edit a page and type /OpenAPI. If it doesn't appear, choose View more and search for "Specpane".
  2. Choose where the spec comes from:
    • File attached to this page: attach a .yaml, .yml or .json file to the page, then pick it from the list. If you just attached it, click Refresh.
    • Git repository: paste a link to the file on GitHub, GitLab or Bitbucket, and the fields fill in. For a private repository, pick a connection your Confluence admin has set up.
    • Paste the spec: paste YAML or JSON. This works best for small specs.
  3. Check the preview, then click Save and publish the page.

You can add as many viewers to a page as you like.

Display options

Option What it does
Operations Shows the operation list collapsed, expands everything, or collapses whole tags
Only show these tags Comma-separated tag names, such as pets, store. Leave it empty to show all.
Show servers Shows or hides the server list
Show schemas Shows or hides the Schemas section
Show tag search box Adds a box that filters operations by tag

The tag filter and Show servers also apply to PDF and Word exports.

Git repositories

For Confluence admins: Git connections

Open Settings (the gear icon), then Apps > Specpane in the sidebar. The quickest way is to type "Specpane" into Jump to setting. You can also use the app's Configure link in app management.

Each connection has:

About tokens:

Exporting to PDF and Word

In exports, each viewer becomes the API's title, version, description and servers, followed by one table per tag listing each operation's method, path and summary.

Ask Rovo about your API

If your site has Rovo, Specpane adds the Specpane API Docs agent. It answers questions from the specs on a page, such as:

It can also write example requests in curl or the language you ask for, using the spec's server URL and placeholders such as YOUR_API_KEY for secrets.

To ask:

  1. Open the page with the Specpane viewer.
  2. Open Rovo chat, choose Specpane API Docs in the agent list (search for "Specpane"), and ask your question.

To ask about a different page, paste that page's link into your question.

What the agent can read:

The agent reads Confluence as the person asking, so it never answers from a page or attachment they can't open. It only reads specs: it can't call your API, change a spec or edit the page. Answers come from the spec. When the spec doesn't describe something, the agent says so rather than guessing, but check important details against the viewer, as with any AI answer.

The agent is included with Specpane. Rovo counts its use toward your site's Rovo usage, as it does for any agent.

MCP tools. The agent's four actions are also available as MCP tools: list specs, search operations, get an operation, and get a schema. You can add them to agents you build in Rovo Studio. Once an admin allows it, outside AI tools that support MCP can use them too. This is a preview feature from Atlassian and may change.

Troubleshooting

Message What to do
"No spec files on this page yet" Attach a .yaml, .yml or .json file, then click Refresh.
"...couldn't find that file" Check the repository, branch and path, and that the connection's token can read that repository.
"...rejected the access token" The token expired or was revoked. Ask an admin to update the connection.
"...connection isn't available in this space" An admin limited the connection to other spaces.
"Confluence didn't allow the app to..." A data security policy may block apps in this space. An admin can check Marketplace and custom app access in Atlassian Administration.
"This doesn't look like an OpenAPI or Swagger document" The file needs a top-level openapi or swagger field.
Rovo: "I don't know which Confluence page to read" Ask from the page with the viewer, or paste the page's link into your question. Short links (/wiki/x/...) aren't recognised; use the full link.
Rovo: "No Specpane specs found on this page" Add a Specpane viewer, or attach the OpenAPI file to the page.
Rovo: a spec "can be read once someone has viewed the page" The spec comes from a private repository. Open the page once, then ask again.
No Specpane API Docs agent in Rovo Your site needs Rovo. If Rovo was turned on after Specpane was installed, ask your admin to contact Specpane support.

"Try it out" isn't available. Confluence's security policy blocks requests from inside pages to other servers, so the button would always fail. It's hidden instead.

Support

support@brainstaticthreads.com