Skip to content

Latest alias

RouterVersioner(
    app=app,
    routers=router,
    version_format=VersionFormat.SEMVER,
    latest_prefix="/latest",
).versionize()

/latest/... now points at whichever version is currently highest. In the quick start app that is v2.0, and its docs at /latest/docs list the routes under the /latest prefix:

Swagger UI at /latest/docs, titled v2.0 and listing GET /latest/items

/latest gets its own docs pages like any other version, but it isn't listed in GET /versions or the dashboard: those list versions, and /latest is a pointer to one of them.