Skip to content

Commit 9fe8f9b

Browse files
committed
feat: enable enums to be open for xero-finance.yaml
BREAKING CHANGE: open enums
1 parent 15f1045 commit 9fe8f9b

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

xero-finance.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,7 +1358,8 @@ components:
13581358
detail:
13591359
type: string
13601360
additionalProperties: false
1361-
ProblemType:
1361+
ProblemTypeClosed:
1362+
type: string
13621363
enum:
13631364
- NotSet
13641365
- bank-account-not-found
@@ -1371,7 +1372,10 @@ components:
13711372
- service-unavailable
13721373
- unauthorized
13731374
- rate-limit-error
1374-
type: string
1375+
ProblemType:
1376+
anyOf:
1377+
- $ref: '#/components/schemas/ProblemTypeClosed'
1378+
- type: string
13751379
ReportHistoryModel:
13761380
type: object
13771381
properties:

0 commit comments

Comments
 (0)