AsyncAPI governance, GraphQL mocks and agent pages are live
APIGit's AsyncAPI and GraphQL follow-up release is live. AsyncAPI governance, hosted GraphQL mocks, and agent-readable pages for both formats are available alongside the existing viewing, editing and publishing workflows.
CLI 0.6.0 is also published, with AsyncAPI lint and GraphQL SDL validation. Hosted server-side lint is not enabled and requires a configured lint service. The format support guide shows the current boundaries.
AsyncAPI has a Governance tab
An AsyncAPI document has Code, Diff, Governance and Preview tabs. Governance reports findings beside the source, with the same rule-selection and jump-to-line workflow used for OpenAPI. AsyncAPI has no Form editor.
The default menu item is now called API Best Practice (it was OpenAPI Best Practice). It includes rules for both OpenAPI and AsyncAPI, with each rule applying to its own format. Choosing the default on an AsyncAPI 2.x or 3.x document runs AsyncAPI checks.
OWASP, URL-style and documentation-quality builtins remain OpenAPI-only. Browser and CLI checks are available now. Hosted server lint remains disabled until a lint service is configured.
See AsyncAPI governance.
Publish a hosted mock from a GraphQL schema
Choose a complete .graphql or .gql schema in Documents & Base Paths when publishing a Spec-based mock. Its default path is /graphql. OpenAPI and GraphQL documents can share the same mock, each at a different base path.
The existing CLI publish command can use the deployed backend too:
apigit mock publish --name catalog-sandbox --type spec --mount schema.graphql:/graphql
The mock accepts GraphQL queries and mutations over HTTP and returns generated values shaped by the schema. It supports variables, operation names and introspection. An argument matching a returned field is echoed, and the same request produces repeatable values.
Mutations return a result without changing later query results. Subscriptions, batched requests and user-supplied resolvers are outside this engine. The mock validates queries and limits their size, depth and resolved fields.
The same engine also runs locally since CLI 0.7.0: apigit mock serve schema.graphql. AsyncAPI mocking is not supported. Read the GraphQL mock guide for a complete schema, request, response and limits.
Agents get a generated page for each file
AsyncAPI documents and GraphQL schemas each have one generated Markdown page in a published version. The page summarizes channels, messages and payloads for AsyncAPI, or roots, types and fields for GraphQL.
The files appear in llms.txt, llms-full.txt, and document MCP search and outline. The Copy page menu exposes View as Markdown for both formats. For public documents, ChatGPT and Claude can read those addresses; protected documents keep their existing access rules.
This is page-level coverage. Separate operation/schema addresses, bundled-spec endpoints and the Skill's operation list remain OpenAPI-only. The account MCP server lists AsyncAPI and GraphQL files as pages, while its operation and schema tools keep their OpenAPI scope.
See agent-readable AsyncAPI and GraphQL pages.
CLI 0.6.0: AsyncAPI lint and GraphQL validation
Use CLI 0.6.0 or later:
apigit lint events.yaml
apigit lint schema.graphql
apigit lint schema.graphql --fail-severity warn
The CLI's oas-best-practice builtin applies the rules for OpenAPI or AsyncAPI. GraphQL is checked directly, rather than against Spectral rules. Broken SDL produces a graphql-syntax error. Schema issues such as an unknown type produce graphql-schema warnings, because a file may be one part of a larger schema.
The default run fails on errors; --fail-severity warn makes warnings fail too. GraphQL does not have a browser Governance tab or server lint. score, bundle, diff and breaking remain OpenAPI-only. See the CLI checks.
The same Git workflow
OpenAPI, AsyncAPI, GraphQL and Markdown remain ordinary files in one Git repository. Review and commit them together, then publish a version from a commit. The release extends the tools that understand each format while preserving the same branches, pull requests, document versions and access controls.