feat(openapi): Add open api routes for routing v2 (#5686)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Amisha Prabhat
2024-08-27 13:23:46 +05:30
committed by GitHub
parent c3c9b2740b
commit 6bb97671e7
16 changed files with 665 additions and 23 deletions

View File

@ -478,10 +478,10 @@ pub enum RoutingKind {
RoutingAlgorithm(Vec<RoutingDictionaryRecord>),
}
#[repr(transparent)]
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone)]
#[serde(transparent)]
pub struct RoutingAlgorithmId(pub String);
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, ToSchema)]
pub struct RoutingAlgorithmId {
pub routing_algorithm_id: String,
}
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
pub struct RoutingLinkWrapper {