AsyncAPI and GraphQL join OpenAPI in APIGit
APIGit now renders AsyncAPI documents and GraphQL schemas alongside OpenAPI and Markdown. Keep your REST endpoints, event contracts, GraphQL types and guides in one Git repository, review them in the same pull request, and publish them as one versioned documentation site.
This release also brings one Redoc 3 viewer across the repository, editor previews and published documents. The separate Swagger UI viewer has been removed.
Updated November 13, 2026: the follow-up release is also live. Read AsyncAPI Governance, GraphQL Mocks and Agent Pages for the deployed features and the separate CLI/server lint status.
Add an event API or a GraphQL schema
Click + above the repository's file tree. The create-file dialog now has six file-type cards: OpenAPI Spec, AsyncAPI Spec, GraphQL Schema, JSON Schema Spec, Markdown Document and Navigation.
Choose AsyncAPI Spec to create a 3.0 starter or import a 2.x or 3.x document in YAML or JSON. Choose GraphQL Schema to create a starter or import SDL in a .graphql or .gql file. GraphQL introspection JSON is not an import format.
A schema is an ordinary source file:
"""An event subscription available to a customer."""
type SubscriptionPlan {
id: ID!
name: String!
}
type Query {
plan(id: ID!): SubscriptionPlan
}

Edit source, review a diff, preview the reference
AsyncAPI has Code, Diff, Governance and Preview tabs. GraphQL has Code, Diff and Preview. Code editing fills the panel and highlights the source. Diff shows what changed. Preview renders the working document with Redoc 3 before you commit it.
OpenAPI retains its Form and Governance tabs too. Its Code tab now also uses the full panel: open Preview to read the rendered reference rather than a Swagger pane beside the editor.
Publish all three formats together
Publish a document version from a commit as usual. It can contain OpenAPI, AsyncAPI, GraphQL and Markdown together, with the same navigation, themes and access settings. Add each file's repository path to apigit.json to organize the site.
Copy page copies an API document in its own format. The download item names that format, and GraphQL downloads preserve .graphql or .gql.
Prefer to edit locally? apigit preview uses the published-page viewer, downloaded and cached separately from the CLI. It shows your working copy before you commit, including your navigation and theme. The first run needs a connection to download the viewer; cached previews work offline.

Which tools work with each format?
Viewing, code editing, diff, preview and publishing now cover all three formats. The tools around the OpenAPI reference keep their existing scope:
| Tool | Current support |
|---|---|
| Visual Form editor | OpenAPI |
| Browser governance | OpenAPI and AsyncAPI |
| APIGit Try It Out, request-language snippets and model code generation | OpenAPI |
| Hosted spec-based mocks | OpenAPI and GraphQL |
| Local spec-based mocks | OpenAPI |
CLI lint (0.6.0+) | OpenAPI, AsyncAPI and GraphQL SDL |
CLI score, bundle, diff and breaking | OpenAPI |
| Agent pages, indexes and document MCP search | OpenAPI, AsyncAPI, GraphQL and Markdown |
| Separate operation/schema addresses and agent bundled-spec endpoints | OpenAPI |
| Copy page and source downloads | OpenAPI, AsyncAPI and GraphQL |
The AsyncAPI viewer documents event contracts; it does not run a broker. The GraphQL viewer documents SDL rather than executing queries. A separate hosted GraphQL mock answers queries and mutations with generated data. Agent indexes now include a generated page for each AsyncAPI or GraphQL file.
What happens to Swagger files and old links?
Swagger 2.0 files are still accepted and converted to OpenAPI for rendering and editing. Swagger UI was the removed viewer, rather than an import format. Saved links that selected Swagger UI open the default reference. A document that cannot render shows the error and source text.
Start with Supported API Formats, Import or Migrate Files, or Publishing an API Document.
Follow-up release
Browser AsyncAPI governance, hosted GraphQL mocks and agent-readable pages for both formats are live. CLI 0.6.0 adds AsyncAPI lint and GraphQL schema validation. Hosted server lint is not enabled and requires a configured lint service. Read the follow-up release article for the workflows and limits.
The hosted GraphQL mock answers queries and mutations with generated values; it does not keep mutation state or support subscriptions. OpenAPI-style per-operation agent endpoints are outside those follow-ups; local GraphQL mocking arrived in CLI 0.7.0 (apigit mock serve schema.graphql). See Supported API Formats for the boundaries.