Skip to content

Commit 854f5f6

Browse files
style: Apply formatting consistent with yq output
This will help ensure that automated verion bumps don't change formatting
1 parent cc55317 commit 854f5f6

File tree

6 files changed

+13
-18
lines changed

6 files changed

+13
-18
lines changed

.yamllint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ rules:
44
line-length: disable
55
document-start: disable
66
truthy: disable
7+
comments: disable

xero-payroll-au.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3462,8 +3462,8 @@ components:
34623462
LeavePeriodStatus:
34633463
type: string
34643464
enum:
3465-
- SCHEDULED # The default status
3466-
- PROCESSED # A LeavePeriod is set to the "Processed" status when the Payrun associated with the LeavePeriod is "POSTED"
3465+
- SCHEDULED # The default status
3466+
- PROCESSED # A LeavePeriod is set to the "Processed" status when the Payrun associated with the LeavePeriod is "POSTED"
34673467
- REQUESTED
34683468
- REJECTED
34693469
PayItems:
@@ -4884,8 +4884,8 @@ components:
48844884
type: string
48854885
enum:
48864886
- FIXEDAMOUNT
4887-
- MULTIPLE # Multiple of Employee’s Ordinary Earnings Rate - an earnings rate which is derived from an employee’s ordinary earnings rate
4888-
- RATEPERUNIT # An earnings rate allowing entry of a rate per unit
4887+
- MULTIPLE # Multiple of Employee’s Ordinary Earnings Rate - an earnings rate which is derived from an employee’s ordinary earnings rate
4888+
- RATEPERUNIT # An earnings rate allowing entry of a rate per unit
48894889
EarningsType:
48904890
type: string
48914891
enum:
@@ -5309,7 +5309,7 @@ components:
53095309
- PARTTIME
53105310
- CASUAL
53115311
- LABOURHIRE
5312-
- SUPERINCOMESTREAM # Usage is deprecated.
5312+
- SUPERINCOMESTREAM # Usage is deprecated.
53135313
- NONEMPLOYEE
53145314
TFNExemptionType:
53155315
type: string
@@ -5323,7 +5323,7 @@ components:
53235323
enum:
53245324
- AUSTRALIANRESIDENT
53255325
- FOREIGNRESIDENT
5326-
- WORKINGHOLIDAYMAKER # Usage is deprecated.
5326+
- WORKINGHOLIDAYMAKER # Usage is deprecated.
53275327
TimesheetStatus:
53285328
type: string
53295329
enum:
@@ -5336,8 +5336,8 @@ components:
53365336
type: string
53375337
description: Employee Status Types
53385338
enum:
5339-
- ACTIVE # Employee with no Termination Date.
5340-
- TERMINATED # Employee with a Termination Date.
5339+
- ACTIVE # Employee with no Termination Date.
5340+
- TERMINATED # Employee with a Termination Date.
53415341
State:
53425342
type: string
53435343
description: State abbreviation for employee home address

xero-payroll-nz.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.0
22
info:
3-
version: 9.1.1
3+
version: 9.2.0
44
title: "Xero Payroll NZ"
55
description: "This is the Xero Payroll API for orgs in the NZ region."
66
termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"

xero-payroll-uk.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.0
22
info:
3-
version: 9.1.1
3+
version: 9.2.0
44
title: "Xero Payroll UK"
55
description: "This is the Xero Payroll API for orgs in the UK region."
66
termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"
@@ -5649,7 +5649,6 @@ components:
56495649
type: array
56505650
items:
56515651
$ref: "#/components/schemas/NICategory"
5652-
56535652
EmployeeTaxObject:
56545653
type: object
56555654
properties:

xero-webhooks.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.1.1
22
info:
33
description: The Xero Webhooks API exposes event notifications relating to entities in the Xero Public API and can be used for a variety of purposes.
44
title: Xero Webhooks API
5-
version: 9.1.1
5+
version: 9.2.0
66
termsOfService: https://developer.xero.com/xero-developer-platform-terms-conditions/
77
contact:
88
name: Xero Platform Team
@@ -29,7 +29,6 @@ webhooks:
2929
$ref: "#/components/responses/200WebhookDataReceivedOk"
3030
"401":
3131
$ref: "#/components/responses/401InvalidWebhookData"
32-
3332
subscriptions:
3433
post:
3534
summary: Subscriptions Webhook Endpoint
@@ -47,7 +46,6 @@ webhooks:
4746
$ref: "#/components/responses/200WebhookDataReceivedOk"
4847
"401":
4948
$ref: "#/components/responses/401InvalidWebhookData"
50-
5149
contacts:
5250
post:
5351
summary: Contacts Webhook Endpoint
@@ -65,15 +63,13 @@ webhooks:
6563
$ref: "#/components/responses/200WebhookDataReceivedOk"
6664
"401":
6765
$ref: "#/components/responses/401InvalidWebhookData"
68-
6966
components:
7067
headers:
7168
x-xero-signature:
7269
description: A hashed signature of the payload is passed along in the headers of each request as x-xero-signature
7370
schema:
7471
type: string
7572
example: "<Base_64_HMAC_SHA_256>"
76-
7773
schemas:
7874
WebhookEvent:
7975
required:
@@ -137,7 +133,6 @@ components:
137133
responses:
138134
401InvalidWebhookData:
139135
description: Return a 401 status to indicate that the webhook subscription failed
140-
141136
200WebhookDataReceivedOk:
142137
description: Return a 200 status to indicate that the webhook subscription succeeded
143138
headers:

xero_accounting.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
openapi: 3.0.0
22
info:
33
title: Xero Accounting API
4-
version: 9.1.1
4+
version: 9.2.0
55
termsOfService: https://developer.xero.com/xero-developer-platform-terms-conditions/
66
contact:
77
name: Xero Platform Team

0 commit comments

Comments
 (0)