Skip to main content

SWAGGER_SLASH_ROUTE

Constant SWAGGER_SLASH_ROUTE 

Source
pub const SWAGGER_SLASH_ROUTE: &str = "/v2/";
Expand description

axum 0.8 does not redirect trailing slashes and rewrite_legacy_uri leaves /v2/ alone, so the slashed form is its own route.