188a7ec91d
* validator-api: reenable swagger openapi * rustfmt * validator-api: rename openapi tag to status
12 lines
309 B
Rust
12 lines
309 B
Rust
// Copyright 2022 - Nym Technologies SA <contact@nymtech.net>
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
use rocket_okapi::swagger_ui::SwaggerUIConfig;
|
|
|
|
pub(crate) fn get_docs() -> SwaggerUIConfig {
|
|
SwaggerUIConfig {
|
|
url: "../v1/openapi.json".to_owned(),
|
|
..SwaggerUIConfig::default()
|
|
}
|
|
}
|