mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 12:15:40 +08:00
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:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user