Files
nym/nyx-chain-watcher/pgsql/src/http/api_docs.rs
T
Mark Sinclair c4fec04fb0 wip
2025-07-06 13:19:53 +01:00

11 lines
424 B
Rust

use utoipa::OpenApi;
use utoipauto::utoipauto;
// manually import external structs which are behind feature flags because they
// can't be automatically discovered
// https://github.com/ProbablyClem/utoipauto/issues/13#issuecomment-1974911829
#[utoipauto(paths = "./nyx-chain-watcher/pgsql/src")]
#[derive(OpenApi)]
#[openapi(info(title = "Nyx Chain Watcher API"), tags(), components(schemas()))]
pub(super) struct ApiDoc;