change: Use Scalar as default openapi UI #22

Manually merged
awiteb merged 1 commit from awiteb/use-scalar-as-default-ui into master 2024-07-18 11:47:00 +02:00 AGit

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()
}
}