mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
refactor(router): remove admin v2 intermediate features (#5780)
Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in> Co-authored-by: Aprabhat19 <amishaprabhat@gmail.com> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
c84af20ec1
commit
b853226120
@ -30,7 +30,7 @@ impl ConnectorSelection {
|
||||
}
|
||||
}
|
||||
}
|
||||
#[cfg(all(feature = "v2", feature = "routing_v2"))]
|
||||
#[cfg(feature = "v2")]
|
||||
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize, ToSchema)]
|
||||
pub struct RoutingConfigRequest {
|
||||
pub name: String,
|
||||
@ -40,7 +40,7 @@ pub struct RoutingConfigRequest {
|
||||
pub profile_id: common_utils::id_type::ProfileId,
|
||||
}
|
||||
|
||||
#[cfg(all(any(feature = "v1", feature = "v2"), not(feature = "routing_v2")))]
|
||||
#[cfg(feature = "v1")]
|
||||
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize, ToSchema)]
|
||||
pub struct RoutingConfigRequest {
|
||||
pub name: Option<String>,
|
||||
|
||||
Reference in New Issue
Block a user