Skip to content

Commit 9b6154d

Browse files
authored
Merge pull request #810 from qhen143/feature/XPMA-1243
feat: add xero-practicemanager-v3-1 spec
2 parents 73a1fbd + 7329774 commit 9b6154d

3 files changed

Lines changed: 7397 additions & 0 deletions

File tree

.spectral.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,3 +160,10 @@ rules:
160160
path-params: off # Disable path parameter validation to address mapping key issues
161161
owasp:api8:2023-define-cors-origin: off # Disable CORS origin header requirement
162162
oas3-operation-security-defined: error # Ensure all scopes are listed in schema
163+
164+
overrides:
165+
- files:
166+
- "xero-practicemanager-v3-1.yaml#/paths/~1v3.1~1client.api~1paged-list/get/parameters/3"
167+
- "xero-practicemanager-v3-1.yaml#/paths/~1v3.1~1client.api~1contacts/get/parameters/3"
168+
rules:
169+
owasp:api2:2023-no-credentials-in-url: off # pageToken is a pagination token, not a credential

manifest.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
"path": "/xero-payroll-uk.yaml",
4040
"canPreview": true
4141
},
42+
"practiceManagerV31": {
43+
"path": "/xero-practicemanager-v3-1.yaml",
44+
"canPreview": true
45+
},
4246
"projects": {
4347
"path": "/xero-projects.yaml",
4448
"canPreview": true

0 commit comments

Comments
 (0)