Skip to content

Commit 1a4c0e0

Browse files
committed
fix: xero-finance.yaml responses numeric to string
1 parent a7963dd commit 1a4c0e0

2 files changed

Lines changed: 11 additions & 10 deletions

File tree

validator/scripts/validate-all.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ ruleset="./validator/spectral.yaml"
1010

1111
# Array of all YAML files
1212
files=(
13+
"xero-finance.yaml"
1314
"xero-identity.yaml"
1415
"xero-projects.yaml"
1516
"xero-app-store.yaml"

xero-finance.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ paths:
389389
type: string
390390
example: "2020-06-30"
391391
responses:
392-
200:
392+
"200":
393393
description: Success
394394
content:
395395
application/json:
@@ -453,7 +453,7 @@ paths:
453453
total: 14.81
454454
total: 14.81
455455
total: 14.81
456-
400:
456+
"400":
457457
description: Bad Request
458458
content:
459459
application/json:
@@ -464,7 +464,7 @@ paths:
464464
title: InvalidRequest
465465
status: 400
466466
detail: Organisation xxx does not exist
467-
503:
467+
"503":
468468
description: Server Error
469469
content:
470470
application/json:
@@ -503,7 +503,7 @@ paths:
503503
type: string
504504
example: "2021-09-15"
505505
responses:
506-
200:
506+
"200":
507507
description: Success
508508
content:
509509
application/json:
@@ -607,7 +607,7 @@ paths:
607607
name: Loan - Shellcoll Distribution 2019
608608
reportingCode: LIA.CUR.LOA
609609
total: -15000.5
610-
400:
610+
"400":
611611
description: Bad Request
612612
content:
613613
application/json:
@@ -618,7 +618,7 @@ paths:
618618
title: InvalidRequest
619619
status: 400
620620
detail: Organisation xxx does not exist
621-
503:
621+
"503":
622622
description: Server Error
623623
content:
624624
application/json:
@@ -657,7 +657,7 @@ paths:
657657
type: string
658658
example: "2021-09-15"
659659
responses:
660-
200:
660+
"200":
661661
description: Success
662662
content:
663663
application/json:
@@ -709,7 +709,7 @@ paths:
709709
name: Office Expenses
710710
reportingCode: EXP
711711
total: 144.47
712-
400:
712+
"400":
713713
description: Bad Request
714714
content:
715715
application/json:
@@ -741,7 +741,7 @@ paths:
741741
type: string
742742
example: "2021-09-15"
743743
responses:
744-
200:
744+
"200":
745745
description: Success
746746
content:
747747
application/json:
@@ -769,7 +769,7 @@ paths:
769769
value: 123
770770
entryType: CREDIT
771771
signedMovement: 0
772-
400:
772+
"400":
773773
description: Bad Request
774774
content:
775775
application/json:

0 commit comments

Comments
 (0)