Skip to main content

Module openapi

Module openapi 

Source
Expand description

Sidecar OpenAPI re-export (task schemas live in zagens-runtime-api since E1-c6).

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).