Skip to main content

Module openapi

Module openapi 

Source
Expand description

OpenAPI 3.0 document for the public /v1 surface, generated from a single in-code endpoint inventory (endpoints). The HTTP route that serves it lives in http_server; the SSOT lives here so it stays compiled and drift-tested without the http-server feature.

Scope: the public, stable surface only — the same set documented in docs/contracts/http-mcp-contract-v1.md. Internal/experimental routes (agent registry, A2A, .well-known, shutdown) are intentionally excluded from the published spec. tests/openapi_contract_up_to_date.rs binds this inventory to that contract’s Endpoints table.

Structs§

EndpointDoc
One documented, public endpoint of the /v1 surface.

Functions§

endpoints
The public endpoint inventory — the single source of truth for the OpenAPI document and the contract-doc drift test.
openapi_value
Build the OpenAPI 3.0.3 document for this build.