mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
refactor(events): update api events to follow snake case naming (#2828)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
@ -29,7 +29,11 @@ pub struct AuthenticationData {
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Eq, PartialEq, Serialize)]
|
||||
#[serde(tag = "api_auth_type")]
|
||||
#[serde(
|
||||
tag = "api_auth_type",
|
||||
content = "authentication_data",
|
||||
rename_all = "snake_case"
|
||||
)]
|
||||
pub enum AuthenticationType {
|
||||
ApiKey {
|
||||
merchant_id: String,
|
||||
|
||||
Reference in New Issue
Block a user