Skip to main content

ROUTE_PATHS

Constant ROUTE_PATHS 

Source
pub const ROUTE_PATHS: [&str; 15];
Expand description

Every path this router serves, in one list.

Shared with openapi so the published schema cannot describe a different API than the one running: router_with zips this against its handler array, and a length mismatch is a compile error, while openapi::document is built from the same constant.