Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
refactor(openapi): enable other features in api_models when running openapi (#3649)
Narayan Bhatfb254b892480
diff --git a/crates/api_models/Cargo.toml b/crates/api_models/Cargo.tomlindex 1e8e0f47eb..03370e5e99 100644--- a/crates/api_models/Cargo.toml+++ b/crates/api_models/Cargo.toml@@ -19,7 +19,7 @@ detailed_errors = []payouts = []frm = []olap = []-openapi = ["common_enums/openapi"]+openapi = ["common_enums/openapi", "olap", "backwards_compatibility", "business_profile_routing", "connector_choice_mca_id", "recon", "dummy_connector", "olap"]recon = [][dependencies]diff --git a/crates/router/Cargo.toml b/crates/router/Cargo.tomlindex 2f3dfa8283..7f724729d9 100644--- a/crates/router/Cargo.toml+++ b/crates/router/Cargo.toml@@ -17,11 +17,10 @@ email = ["external_services/email", "olap"]frm = []stripe = ["dep:serde_qs"]release = ["aws_kms", "stripe", "aws_s3", "email", "backwards_compatibility", "business_profile_routing", "accounts_cache", "kv_store", "connector_choice_mca_id", "profile_specific_fallback_routing", "vergen", "recon"]-olap = ["data_models/olap", "storage_impl/olap", "scheduler/olap","api_models/olap","dep:analytics"]+olap = ["data_models/olap", "storage_impl/olap", "scheduler/olap", "api_models/olap", "dep:analytics"]oltp = ["storage_impl/oltp"]kv_store = ["scheduler/kv_store"]accounts_cache = []-openapi = ["olap", "oltp", "payouts", "dep:openapi"]vergen = ["router_env/vergen"]backwards_compatibility = ["api_models/backwards_compatibility"]business_profile_routing = ["api_models/business_profile_routing"]diff --git a/openapi/openapi_spec.json b/openapi/openapi_spec.jsonindex 06c1a8d806..eda3747b94 100644--- a/openapi/openapi_spec.json+++ b/openapi/openapi_spec.json@@ -6607,6 +6607,13 @@"type": "string","description": "A connector is an integration to fulfill payments","enum": [+ "phonypay",+ "fauxpay",+ "pretendpay",+ "stripe_test",+ "adyen_test",+ "checkout_test",+ "paypal_test","aci","adyen","airwallex",@@ -10300,6 +10307,7 @@"description": "Routing Algorithm specific to merchants","required": ["id",+ "profile_id","name","description","algorithm",@@ -10310,6 +10318,9 @@"id": {"type": "string"},+ "profile_id": {+ "type": "string"+ },"name": {"type": "string"},@@ -15446,7 +15457,7 @@"connector": {"$ref": "#/components/schemas/RoutableConnectors"},- "sub_label": {+ "merchant_connector_id": {"type": "string","nullable": true}@@ -15456,6 +15467,13 @@"type": "string","description": "Connectors eligible for payments routing","enum": [+ "phonypay",+ "fauxpay",+ "pretendpay",+ "stripe_test",+ "adyen_test",+ "checkout_test",+ "paypal_test","aci","adyen","airwallex",@@ -15655,6 +15673,7 @@"type": "object","required": ["id",+ "profile_id","name","kind","description",@@ -15665,6 +15684,9 @@"id": {"type": "string"},+ "profile_id": {+ "type": "string"+ },"name": {"type": "string"},