From a4c5b93c3eaae598713e5efa9f77fd33eac9c9a7 Mon Sep 17 00:00:00 2001 From: "hyperswitch-bot[bot]" <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Date: Fri, 20 Dec 2024 12:39:03 +0000 Subject: [PATCH] docs(openapi): re-generate OpenAPI specification --- api-reference-v2/openapi_spec.json | 58 ++++++++++++++++-------------- 1 file changed, 31 insertions(+), 27 deletions(-) diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index 558d51f0f1ec..53d113beaf8f 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -18878,19 +18878,8 @@ } }, "ResponsePaymentMethodTypes": { - "type": "object", - "required": [ - "payment_method_type", - "payment_method_subtype" - ], - "properties": { - "payment_method_type": { - "$ref": "#/components/schemas/PaymentMethodType" - }, - "payment_method_subtype": { - "$ref": "#/components/schemas/PaymentMethodType" - }, - "extra_information": { + "allOf": [ + { "allOf": [ { "$ref": "#/components/schemas/PaymentMethodSubtypeSpecificData" @@ -18898,23 +18887,38 @@ ], "nullable": true }, - "required_fields": { + { "type": "object", - "description": "Required fields for the payment_method_type.\nThis is the union of all the required fields for the payment method type enabled in all the connectors.", - "additionalProperties": { - "$ref": "#/components/schemas/RequiredFieldInfo" - }, - "nullable": true - }, - "surcharge_details": { - "allOf": [ - { - "$ref": "#/components/schemas/SurchargeDetailsResponse" - } + "required": [ + "payment_method_type", + "payment_method_subtype" ], - "nullable": true + "properties": { + "payment_method_type": { + "$ref": "#/components/schemas/PaymentMethodType" + }, + "payment_method_subtype": { + "$ref": "#/components/schemas/PaymentMethodType" + }, + "required_fields": { + "type": "object", + "description": "Required fields for the payment_method_type.\nThis is the union of all the required fields for the payment method type enabled in all the connectors.", + "additionalProperties": { + "$ref": "#/components/schemas/RequiredFieldInfo" + }, + "nullable": true + }, + "surcharge_details": { + "allOf": [ + { + "$ref": "#/components/schemas/SurchargeDetailsResponse" + } + ], + "nullable": true + } + } } - } + ] }, "ResponsePaymentMethodsEnabled": { "type": "object",