format (#1453)
This commit is contained in:
parent
a7bb9160c4
commit
0789d615d4
|
@ -95,40 +95,40 @@ pub async fn run(opts: RunOptions, state: ApiState) -> Result<()> {
|
||||||
|
|
||||||
#[derive(OpenApi)]
|
#[derive(OpenApi)]
|
||||||
#[openapi(
|
#[openapi(
|
||||||
paths(
|
paths(
|
||||||
rest::get_price_feed,
|
rest::get_price_feed,
|
||||||
rest::get_vaa,
|
rest::get_vaa,
|
||||||
rest::get_vaa_ccip,
|
rest::get_vaa_ccip,
|
||||||
rest::latest_price_feeds,
|
rest::latest_price_feeds,
|
||||||
rest::latest_vaas,
|
rest::latest_vaas,
|
||||||
rest::price_feed_ids,
|
rest::price_feed_ids,
|
||||||
rest::latest_price_updates,
|
rest::latest_price_updates,
|
||||||
rest::timestamp_price_updates,
|
rest::timestamp_price_updates,
|
||||||
rest::price_feeds_metadata,
|
rest::price_feeds_metadata,
|
||||||
rest::price_stream_sse_handler,
|
rest::price_stream_sse_handler,
|
||||||
),
|
),
|
||||||
components(
|
components(
|
||||||
schemas(
|
schemas(
|
||||||
rest::GetVaaCcipInput,
|
rest::GetVaaCcipInput,
|
||||||
rest::GetVaaCcipResponse,
|
rest::GetVaaCcipResponse,
|
||||||
rest::GetVaaResponse,
|
rest::GetVaaResponse,
|
||||||
types::PriceIdInput,
|
types::PriceIdInput,
|
||||||
types::RpcPrice,
|
types::RpcPrice,
|
||||||
types::RpcPriceFeed,
|
types::RpcPriceFeed,
|
||||||
types::RpcPriceFeedMetadata,
|
types::RpcPriceFeedMetadata,
|
||||||
types::RpcPriceIdentifier,
|
types::RpcPriceIdentifier,
|
||||||
types::EncodingType,
|
types::EncodingType,
|
||||||
types::PriceUpdate,
|
types::PriceUpdate,
|
||||||
types::BinaryPriceUpdate,
|
types::BinaryPriceUpdate,
|
||||||
types::ParsedPriceUpdate,
|
types::ParsedPriceUpdate,
|
||||||
types::RpcPriceFeedMetadataV2,
|
types::RpcPriceFeedMetadataV2,
|
||||||
types::PriceFeedMetadata,
|
types::PriceFeedMetadata,
|
||||||
types::AssetType
|
types::AssetType
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
tags(
|
tags(
|
||||||
(name = "hermes", description = "Pyth Real-Time Pricing API")
|
(name = "hermes", description = "Pyth Real-Time Pricing API")
|
||||||
)
|
)
|
||||||
)]
|
)]
|
||||||
struct ApiDoc;
|
struct ApiDoc;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue