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): modify profile-delete auth to AdminAPIKey in API doc (#7697)
Sandeep Kumarb8f66155d4a2
diff --git a/api-reference/openapi_spec.json b/api-reference/openapi_spec.jsonindex 8ce45e57a5..7d364fa972 100644--- a/api-reference/openapi_spec.json+++ b/api-reference/openapi_spec.json@@ -3324,7 +3324,7 @@},"security": [{- "api_key": []+ "admin_api_key": []}]}diff --git a/crates/openapi/src/routes/profile.rs b/crates/openapi/src/routes/profile.rsindex 2b72375f98..e2dfffa2d1 100644--- a/crates/openapi/src/routes/profile.rs+++ b/crates/openapi/src/routes/profile.rs@@ -108,7 +108,7 @@ pub async fn profile_retrieve() {}),tag = "Profile",operation_id = "Delete the Profile",- security(("api_key" = []))+ security(("admin_api_key" = [])))]pub async fn profile_delete() {}