mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 21:37:41 +08:00
refactor(openapi): modify profile-delete auth to AdminAPIKey in API doc (#7697)
This commit is contained in:
@ -3324,7 +3324,7 @@
|
|||||||
},
|
},
|
||||||
"security": [
|
"security": [
|
||||||
{
|
{
|
||||||
"api_key": []
|
"admin_api_key": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -108,7 +108,7 @@ pub async fn profile_retrieve() {}
|
|||||||
),
|
),
|
||||||
tag = "Profile",
|
tag = "Profile",
|
||||||
operation_id = "Delete the Profile",
|
operation_id = "Delete the Profile",
|
||||||
security(("api_key" = []))
|
security(("admin_api_key" = []))
|
||||||
)]
|
)]
|
||||||
pub async fn profile_delete() {}
|
pub async fn profile_delete() {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user