v0.15.4
This commit is contained in:
+2
-4
@@ -12,10 +12,8 @@ pub(super) fn swagger_ui(base_path: &str) -> SwaggerUi {
|
||||
.external_url_unchecked("/api-docs/openapi.json", document(base_path))
|
||||
.config(
|
||||
SwaggerConfig::new([docs_url])
|
||||
.filter(true)
|
||||
.try_it_out_enabled(true)
|
||||
.display_request_duration(true)
|
||||
.persist_authorization(true),
|
||||
.doc_expansion("none")
|
||||
.default_models_expand_depth(-1),
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user