docs(openapi): fix payment_methods_enabled OpenAPI spec in merchant connector account APIs (#3068)

This commit is contained in:
Sai Harsha Vardhan
2023-12-06 22:52:50 +05:30
committed by GitHub
parent 9c1c44a706
commit b6838c4d1a
4 changed files with 78 additions and 4 deletions

View File

@ -879,7 +879,7 @@ pub struct PaymentMethodsEnabled {
pub payment_method: common_enums::PaymentMethod,
/// Subtype of payment method
#[schema(value_type = Option<Vec<PaymentMethodType>>,example = json!(["credit"]))]
#[schema(value_type = Option<Vec<RequestPaymentMethodTypes>>,example = json!(["credit"]))]
pub payment_method_types: Option<Vec<payment_methods::RequestPaymentMethodTypes>>,
}