Skip to main content

SWAGGER_PATH

Constant SWAGGER_PATH 

Source
pub const SWAGGER_PATH: &str = "/swagger";
Expand description

The path the page is served at.

It is /swagger and not /docs: /docs is where this repository’s own documentation is served, and a viewer for the API is not the documentation. The rule that holds the two apart is project.web-surface-declared-once.