Skip to main content

spec_handler

Function spec_handler 

Source
pub async fn spec_handler(__arg0: State<AppState>) -> Json<OpenApi>
Expand description

GET /spec — return OpenAPI JSON for entity APIs. Default (unprefixed) routes come from state.model; package-scoped routes are built by listing _sys_packages and loading each package’s config from sys* tables (same source of truth as runtime routes).