Skip to content

Commit b4aa155

Browse files
chore(release): 1.14.1 [skip ci]
## [1.14.1](v1.14.0...v1.14.1) (2024-12-11) ### Bug Fixes * version bump ([3e216e4](3e216e4))
1 parent 3e216e4 commit b4aa155

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

sps-api-standards.spectral.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,19 @@ rules:
1010
functionOptions:
1111
notMatch: basic
1212
##### General #####
13-
sps-no-collection-paging-capability:
14-
description: "Response bodies from collection endpoints SHOULD offer paging capability."
15-
severity: warn
16-
given: $.paths[?([email protected](/.*\/\{[^}]+\}$/))].get.responses['200'].content.application/json.schema.properties
17-
then:
18-
- field: "paging"
19-
function: truthy
20-
- field: "paging.type"
21-
function: pattern
22-
functionOptions:
23-
match: "object"
13+
# See https://atlassian.spscommerce.com/browse/DPE-286
14+
# sps-no-collection-paging-capability:
15+
# description: "Response bodies from collection endpoints SHOULD offer paging capability."
16+
# severity: warn
17+
# given: $.paths[?([email protected](/.*\/\{[^}]+\}$/))].get.responses['200'].content.application/json.schema.properties
18+
# then:
19+
# - field: "paging"
20+
# function: truthy
21+
# - field: "paging.type"
22+
# function: pattern
23+
# functionOptions:
24+
# match: "object"
25+
2426
##### Root Element #####
2527
sps-collection-missing-results-array:
2628
description: "Response bodies must have a root element called results and is an array of objects."

0 commit comments

Comments
 (0)