wip
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user