- Qubitara Synapse
- Importing content
- Import an OpenAPI specification
Import an OpenAPI specification
Turn an OpenAPI document into reference pages — one page per operation, grouped by tag — that stay in step with the specification.
Steps#
Choose Import in the sidebar, then OpenAPI.
Paste the specification or upload the file. JSON or YAML, OpenAPI 3.x, up to 5 MB.
Choose the destination space (and parent page).
Choose Import. Synapse reads the spec and generates the pages.
What is generated#
For every operation: its method and path, summary and description, parameters (path, query, header), request body schema, responses with their schemas, and any examples the spec carries. Operations are grouped under their tags; untagged operations go under a general section.
The generated pages are ordinary pages — add a note, a callout or an example above the generated section and it survives regeneration.
Keeping it current#
Import the updated specification again into the same space: existing operation pages are updated in place (matched by method and path), new operations get new pages, and removed operations are reported in the summary so you can deprecate or trash them. Published pages stay published; the update lands in their draft, ready to Publish changes.
Tips#
Keep the spec's
info.titlestable; it names the top-level page.Put human prose in the spec's
descriptionfields — it is rendered as Markdown.Publish the parent pages first so the operation pages are reachable on the site.