refactor(openapi): add openapi support for generating v2 api-reference (#5580)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Sai Harsha Vardhan
2024-08-09 20:30:59 +05:30
committed by GitHub
parent 942e63d9cd
commit 92d76a361a
14 changed files with 17853 additions and 15 deletions

View File

@ -539,7 +539,7 @@ pub struct MerchantAccountResponse {
#[derive(Clone, Debug, ToSchema, Serialize)]
pub struct MerchantAccountResponse {
/// The identifier for the Merchant Account
#[schema(max_length = 64, example = "y3oqhf46pyzuxjbcn2giaqnb44")]
#[schema(max_length = 64, example = "y3oqhf46pyzuxjbcn2giaqnb44", value_type = String)]
pub id: id_type::MerchantId,
/// Name of the Merchant Account