mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
docs(openapi): document security schemes (#676)
Co-authored-by: Arun Raj M <jarnura47@gmail.com>
This commit is contained in:
@ -707,6 +707,7 @@ pub enum BankNames {
|
||||
strum::Display,
|
||||
strum::EnumString,
|
||||
frunk::LabelledGeneric,
|
||||
ToSchema,
|
||||
)]
|
||||
pub enum CardNetwork {
|
||||
Visa,
|
||||
|
||||
@ -382,6 +382,7 @@ pub struct Card {
|
||||
#[schema(value_type = String, example = "242")]
|
||||
pub card_cvc: Secret<String>,
|
||||
pub card_issuer: Option<String>,
|
||||
#[schema(value_type = Option<CardNetwork>, example = "Visa")]
|
||||
pub card_network: Option<api_enums::CardNetwork>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user