Skip to main content

Module v2

Module v2 

Source
Expand description

The v2 endpoint routes are defined by the google.api.http annotations in proto/v2/ and registered by the generated rest::*_rest_router functions, so only the hand-written docs routes appear here.

Constantsยง

CONFIG_ROUTES
What the generated config_service_rest_router mounts, pinned to it by a test.
EXPLORER_ROUTES
What the generated explorer_service_rest_router mounts, pinned to it by a test.
OPENAPI_SPEC_ROUTE
SCALAR_ROUTE
SUBMIT_ROUTES
What the generated submit_service_rest_router mounts, pinned to it by a test.
SWAGGER_ROUTE
SWAGGER_SLASH_ROUTE
axum 0.8 does not redirect trailing slashes and rewrite_legacy_uri leaves /v2/ alone, so the slashed form is its own route.