Skip to main content

Module openapi

Module openapi 

Source
Expand description

Product OpenAPI route metadata for /v1/palette/*.

Mirrors the pattern soma-api uses for /v1/gateway/{action}: augment an already-generated OpenAPI document with hand-written path entries for routes this crate owns but that the generic provider-route generator doesn’t know about.

Constants§

CATALOG_PATH
EXECUTE_PATH
SCHEMA_PATH
SEARCH_PATH

Functions§

augment_with_palette_routes
Insert Palette route entries into value’s paths object, if not already present. value is expected to already have a top-level paths object (as produced by SomaApplication::openapi_document).