Skip to content

Commit

Permalink
chore: Resolve pr comments
Browse files Browse the repository at this point in the history
chore: generate openapi spec

chore: generate openapi spec

chore: generate openapi spec
  • Loading branch information
deepanshu-iiitu committed Oct 8, 2024
1 parent 5abec8a commit 9c977f6
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 0 deletions.
33 changes: 33 additions & 0 deletions api-reference-v2/openapi_spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -17144,6 +17144,39 @@
}
}
},
"PazeSessionTokenResponse": {
"type": "object",
"required": [
"client_id",
"client_name",
"client_profile_id"
],
"properties": {
"client_id": {
"type": "string",
"description": "Paze Client ID"
},
"client_name": {
"type": "string",
"description": "Client Name to be displayed on the Paze screen"
},
"client_profile_id": {
"type": "string",
"description": "Paze Client Profile ID"
}
}
},
"PazeWalletData": {
"type": "object",
"required": [
"complete_response"
],
"properties": {
"complete_response": {
"type": "string"
}
}
},
"PhoneDetails": {
"type": "object",
"properties": {
Expand Down
33 changes: 33 additions & 0 deletions api-reference/openapi_spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -20889,6 +20889,39 @@
}
}
},
"PazeSessionTokenResponse": {
"type": "object",
"required": [
"client_id",
"client_name",
"client_profile_id"
],
"properties": {
"client_id": {
"type": "string",
"description": "Paze Client ID"
},
"client_name": {
"type": "string",
"description": "Client Name to be displayed on the Paze screen"
},
"client_profile_id": {
"type": "string",
"description": "Paze Client Profile ID"
}
}
},
"PazeWalletData": {
"type": "object",
"required": [
"complete_response"
],
"properties": {
"complete_response": {
"type": "string"
}
}
},
"PhoneDetails": {
"type": "object",
"properties": {
Expand Down
1 change: 1 addition & 0 deletions crates/api_models/src/payments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2898,6 +2898,7 @@ impl GetAddressFromPaymentMethodData for WalletData {
#[derive(Eq, PartialEq, Clone, Debug, serde::Deserialize, serde::Serialize, ToSchema)]
#[serde(rename_all = "snake_case")]
pub struct PazeWalletData {
#[schema(value_type = String)]
pub complete_response: Secret<String>,
}

Expand Down
2 changes: 2 additions & 0 deletions crates/openapi/src/openapi_v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ Never share your secret api keys. Keep them guarded and secure.
api_models::payments::PaymentsSessionResponse,
api_models::payments::PaymentsCreateIntentRequest,
api_models::payments::PaymentsCreateIntentResponse,
api_models::payments::PazeWalletData,
api_models::payments::AmountDetails,
api_models::payments::SessionToken,
api_models::payments::ApplePaySessionResponse,
Expand Down Expand Up @@ -358,6 +359,7 @@ Never share your secret api keys. Keep them guarded and secure.
api_models::payments::GooglePayPaymentMethodInfo,
api_models::payments::ApplePayWalletData,
api_models::payments::ApplepayPaymentMethod,
api_models::payments::PazeSessionTokenResponse,
api_models::payments::SamsungPaySessionTokenResponse,
api_models::payments::SamsungPayMerchantPaymentInformation,
api_models::payments::SamsungPayAmountDetails,
Expand Down

0 comments on commit 9c977f6

Please # to comment.