From f90d7b5b84f419daf2c52994817ae205dbd6778b Mon Sep 17 00:00:00 2001 From: "hyperswitch-bot[bot]" <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Date: Thu, 30 Nov 2023 14:57:54 +0000 Subject: [PATCH] docs(openapi): re-generate OpenAPI specification --- openapi/openapi_spec.json | 32 +++++++++++++------------------- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/openapi/openapi_spec.json b/openapi/openapi_spec.json index 430c13355500..e0f4026a900c 100644 --- a/openapi/openapi_spec.json +++ b/openapi/openapi_spec.json @@ -4049,16 +4049,11 @@ "BusinessPaymentLinkConfig": { "allOf": [ { - "$ref": "#/components/schemas/PaymentLinkDesignConfig" + "$ref": "#/components/schemas/PaymentLinkConfig" }, { "type": "object", "properties": { - "expiry": { - "type": "integer", - "format": "int64", - "nullable": true - }, "domain_name": { "type": "string", "nullable": true @@ -8490,17 +8485,10 @@ "PaymentCreatePaymentLinkConfig": { "allOf": [ { - "$ref": "#/components/schemas/PaymentLinkDesignConfig" + "$ref": "#/components/schemas/PaymentLinkConfig" }, { - "type": "object", - "properties": { - "expiry": { - "type": "string", - "format": "date-time", - "nullable": true - } - } + "type": "object" } ] }, @@ -8568,9 +8556,15 @@ } ] }, - "PaymentLinkDesignConfig": { + "PaymentLinkConfig": { "type": "object", "properties": { + "max_age": { + "type": "integer", + "format": "int64", + "description": "Custom Payment link expiry", + "nullable": true + }, "theme": { "type": "string", "description": "custom theme for the payment link", @@ -11619,6 +11613,7 @@ "link_to_pay", "amount", "created_at", + "max_age", "status" ], "properties": { @@ -11639,10 +11634,9 @@ "type": "string", "format": "date-time" }, - "expiry": { + "max_age": { "type": "string", - "format": "date-time", - "nullable": true + "format": "date-time" }, "description": { "type": "string",