Skip to main content

Module sidecar

Module sidecar 

Source
Expand description

Per-language call metadata that crosses the boundary from spikard’s SQL module to the per-language handler-stub generators.

The OpenAPI spec emitted by crate::sql::openapi_from_routes stays vanilla — no x-* extensions — so any generic OpenAPI consumer sees a normal document. The sidecar JSON carries everything spikard’s per-language generators need to replace raise NotImplementedError("TODO") stubs with real bodies that call into scythe-generated query functions.

Structs§

Sidecar
Top-level sidecar: language → operation_id → entry.
SidecarEntry
One handler’s call info in one target language.
SidecarParam
One argument of a sidecar call.

Functions§

build_sidecar_entry
Build a sidecar entry from an AnalyzedQuery and a per-param binding map.