Skip to main content

Module route_inventory

Module route_inventory 

Source
Expand description

Generic route inventory metadata and documentation helpers.

RestRoute describes one route’s shape (method, path, auth posture, description) generically. Products own their own concrete route list (Soma’s lives in soma-api::route_inventory::REST_ROUTES) and pass it to capabilities_response to build a /v1/capabilities-style discovery payload.

Structs§

CapabilitiesResponse
RestRoute

Functions§

capabilities_response
Build a CapabilitiesResponse from a product’s own static route table.