API references, source and diff views in APIGit
Updated November 13, 2026: APIGit now uses Redoc 3 for OpenAPI, AsyncAPI and GraphQL. Swagger UI has been removed as a separate viewer. This guide describes the current views.
An API reference and its source answer different questions. The rendered reference helps a reader explore the API; the source shows exactly what is committed. APIGit keeps both in the same Git workflow.
One renderer for three API formats
The default viewer renders OpenAPI, AsyncAPI 2.x and 3.x, and GraphQL schemas in SDL. These files can share a repository and a published document with your Markdown guides. Swagger 2.0 files still work; removing the Swagger UI viewer did not remove the import format.

Inspect the source
Use the file's switch viewer menu to select code and read the source. In a published document, the rendered and code views are the available choices. Copy page copies the API document in its own format, and the menu beside it downloads the original file.

Edit, then preview
Enter edit mode to change a document. Code uses the full panel, with syntax highlighting for JSON, YAML or GraphQL SDL. Open Preview to see your edits rendered with Redoc 3; the Code tab no longer has a Swagger preview beside it.
OpenAPI has Form, Code, Diff, Governance and Preview tabs. AsyncAPI has Code, Diff, Governance and Preview; GraphQL has Code, Diff and Preview.

Review changes
Diff shows your edits beside the previous content before you commit. In the repository's file view you can also compare against another file. Commit related changes together, or open a pull request for review.

Check and try OpenAPI
The OpenAPI and AsyncAPI Governance views list findings beside the code. Click a finding to jump to its line. OpenAPI's rendered reference also provides Try It Out, request-language snippets and model code generation. These tools are not offered for AsyncAPI or GraphQL.
Read Supported API Formats and API References and Source Views for the current feature details.