change: Use Scalar as default openapi UI
All checks were successful
DCO checker / DCO checker (pull_request) Successful in 2s
Rust CI / Rust CI (pull_request) Successful in 4m8s

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb 2024-07-18 12:36:40 +03:00
parent 8021b15f41
commit ec0ec98ae6
Signed by: awiteb
GPG key ID: 3F6B55640AA6682F

View file

@ -72,10 +72,10 @@ pub(crate) mod openapi {
"/openapi.json".to_owned()
}
pub const fn viewer() -> types::OpenApiViewer {
types::OpenApiViewer::SwaggerUi
types::OpenApiViewer::Scalar
}
pub fn viewer_path() -> String {
"/swagger-ui".to_owned()
"/scalar-ui".to_owned()
}
}