This commit is contained in:
Mark Sinclair
2025-07-06 13:09:44 +01:00
parent 83c84bfd2d
commit e8f76aa7ee
54 changed files with 4 additions and 3 deletions
@@ -0,0 +1,10 @@
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/src")]
#[derive(OpenApi)]
#[openapi(info(title = "Nyx Chain Watcher API"), tags(), components(schemas()))]
pub(super) struct ApiDoc;