Skip to content

Commit cc55317

Browse files
style: Format example as yaml
1 parent e54320d commit cc55317

File tree

1 file changed

+11
-17
lines changed

1 file changed

+11
-17
lines changed

xero-webhooks.yaml

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -148,20 +148,14 @@ components:
148148
schema:
149149
$ref: "#/components/schemas/WebhookEvent"
150150
example:
151-
{
152-
"events":
153-
[
154-
{
155-
"resourceUrl": "https://api.xero.com/api.xro/2.0/Contacts/717f2bfc-c6d4-41fd-b238-3f2f0c0cf777",
156-
"resourceId": "717f2bfc-c6d4-41fd-b238-3f2f0c0cf777",
157-
"eventDateUtc": "2024-06-21T01:15:39.902",
158-
"eventType": "UPDATE",
159-
"eventCategory": "CONTACT",
160-
"tenantId": "c2cc9b6e-9458-4c7d-93cc-f02b81b0594f",
161-
"tenantType": "ORGANISATION",
162-
},
163-
],
164-
"lastEventSequence": 1,
165-
"firstEventSequence": 1,
166-
"entropy": "S0m3r4Nd0mt3xt",
167-
}
151+
events:
152+
- resourceUrl: https://api.xero.com/api.xro/2.0/Contacts/717f2bfc-c6d4-41fd-b238-3f2f0c0cf777
153+
resourceId: 717f2bfc-c6d4-41fd-b238-3f2f0c0cf777
154+
eventDateUtc: 2024-06-21T01:15:39.902
155+
eventType: UPDATE
156+
eventCategory: CONTACT
157+
tenantId: c2cc9b6e-9458-4c7d-93cc-f02b81b0594f
158+
tenantType: ORGANISATION
159+
lastEventSequence: 1
160+
firstEventSequence: 1
161+
entropy: S0m3r4Nd0mt3xt

0 commit comments

Comments
 (0)