Skip to content

Commit

Permalink
docs(openapi): re-generate OpenAPI specification
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperswitch-bot[bot] committed Nov 30, 2023
1 parent 3b1a904 commit f90d7b5
Showing 1 changed file with 13 additions and 19 deletions.
32 changes: 13 additions & 19 deletions openapi/openapi_spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
}
]
},
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -11619,6 +11613,7 @@
"link_to_pay",
"amount",
"created_at",
"max_age",
"status"
],
"properties": {
Expand All @@ -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",
Expand Down

0 comments on commit f90d7b5

Please sign in to comment.