mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 19:42:27 +08:00
refactor(openapi): update authentication for profiles and mca openapi (#7678)
This commit is contained in:
@ -1760,7 +1760,7 @@
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"admin_api_key": []
|
||||
"api_key": []
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -1805,7 +1805,7 @@
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"admin_api_key": []
|
||||
"api_key": []
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -1859,7 +1859,7 @@
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"admin_api_key": []
|
||||
"api_key": []
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -1940,7 +1940,7 @@
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"admin_api_key": []
|
||||
"api_key": []
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -3122,7 +3122,7 @@
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"admin_api_key": []
|
||||
"api_key": []
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -3211,7 +3211,7 @@
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"admin_api_key": []
|
||||
"api_key": []
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -3276,7 +3276,7 @@
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"admin_api_key": []
|
||||
"api_key": []
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@ -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