docs(api_models): fix typo (#634)

This commit is contained in:
Arjun Karthik
2023-02-24 18:15:24 +05:30
committed by GitHub
parent 1b3b7f5bc6
commit 9d6e1c0a5d
2 changed files with 6 additions and 6 deletions

View File

@ -18,7 +18,7 @@ pub enum PaymentOp {
#[derive(Default, Debug, serde::Deserialize, serde::Serialize, Clone, ToSchema)]
#[serde(deny_unknown_fields)]
pub struct PaymentsRequest {
/// Unique identifier for the payment. This ensures impotency for multiple payments
/// Unique identifier for the payment. This ensures idempotency for multiple payments
/// that have been done by a single merchant. This field is auto generated and is returned in the API response.
#[schema(
value_type = Option<String>,
@ -574,7 +574,7 @@ pub struct NextAction {
#[derive(Setter, Clone, Default, Debug, Eq, PartialEq, serde::Serialize, ToSchema)]
pub struct PaymentsResponse {
/// Unique identifier for the payment. This ensures impotency for multiple payments
/// Unique identifier for the payment. This ensures idempotency for multiple payments
/// that have been done by a single merchant.
#[schema(
min_length = 30,
@ -1221,7 +1221,7 @@ pub struct PaymentsCancelRequest {
#[derive(Default, Debug, serde::Deserialize, serde::Serialize, ToSchema)]
pub struct PaymentsStartRequest {
/// Unique identifier for the payment. This ensures impotency for multiple payments
/// Unique identifier for the payment. This ensures idempotency for multiple payments
/// that have been done by a single merchant. This field is auto generated and is returned in the API response.
pub payment_id: String,
/// The identifier for the Merchant Account.