Skip to main content

Module openapi

Module openapi 

Source
Expand description

OpenAPI 3.1 export for Zagens runtime HTTP API (D16 E1-c phase 1).

Structs§

ResumeSessionResponse
SessionDetailResponse
SessionsListResponse
StartTurnResponse
StreamTurnRequest
ThreadSummary

Constants§

SCHEMA_EXPORTS
Core schemas exported to OpenAPI components.

Functions§

build_openapi_value
Assemble the full OpenAPI document (no sidecar-only schema extensions).
build_openapi_value_with
Assemble the full OpenAPI document (JSON Schema 2020-12 components).
build_paths
Build the OpenAPI paths object (Axum {param} syntax).
export_openapi_json
Pretty-printed OpenAPI JSON for check-in and TS codegen.
export_openapi_json_with
Pretty-printed OpenAPI JSON for check-in and TS codegen.
path_template_count
Path templates registered in this module (guard drift vs router.rs).

Type Aliases§

SchemaExportFn
One OpenAPI component schema export (name, schema_for! thunk).