mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +08:00
refactor(openapi): update authentication for profiles and mca openapi (#7678)
This commit is contained in:
@ -57,7 +57,7 @@
|
||||
),
|
||||
tag = "Merchant Connector Account",
|
||||
operation_id = "Create a Merchant Connector",
|
||||
security(("admin_api_key" = []))
|
||||
security(("api_key" = []))
|
||||
)]
|
||||
pub async fn connector_create() {}
|
||||
|
||||
@ -142,7 +142,7 @@ pub async fn connector_create() {}
|
||||
),
|
||||
tag = "Merchant Connector Account",
|
||||
operation_id = "Retrieve a Merchant Connector",
|
||||
security(("admin_api_key" = []))
|
||||
security(("api_key" = []))
|
||||
)]
|
||||
pub async fn connector_retrieve() {}
|
||||
|
||||
@ -183,7 +183,7 @@ pub async fn connector_retrieve() {}
|
||||
),
|
||||
tag = "Merchant Connector Account",
|
||||
operation_id = "List all Merchant Connectors",
|
||||
security(("admin_api_key" = []))
|
||||
security(("api_key" = []))
|
||||
)]
|
||||
pub async fn connector_list() {}
|
||||
|
||||
@ -231,7 +231,7 @@ pub async fn connector_list() {}
|
||||
),
|
||||
tag = "Merchant Connector Account",
|
||||
operation_id = "Update a Merchant Connector",
|
||||
security(("admin_api_key" = []))
|
||||
security(("api_key" = []))
|
||||
)]
|
||||
pub async fn connector_update() {}
|
||||
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
),
|
||||
tag = "Profile",
|
||||
operation_id = "Create A Profile",
|
||||
security(("admin_api_key" = []))
|
||||
security(("api_key" = []))
|
||||
)]
|
||||
pub async fn profile_create() {}
|
||||
|
||||
@ -65,7 +65,7 @@ pub async fn profile_create() {}
|
||||
),
|
||||
tag = "Profile",
|
||||
operation_id = "Update a Profile",
|
||||
security(("admin_api_key" = []))
|
||||
security(("api_key" = []))
|
||||
)]
|
||||
pub async fn profile_update() {}
|
||||
|
||||
@ -86,7 +86,7 @@ pub async fn profile_update() {}
|
||||
),
|
||||
tag = "Profile",
|
||||
operation_id = "Retrieve a Profile",
|
||||
security(("admin_api_key" = []))
|
||||
security(("api_key" = []))
|
||||
)]
|
||||
pub async fn profile_retrieve() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user