Skip to content

Commit

Permalink
chore(release): 1.10.1 [skip ci]
Browse files Browse the repository at this point in the history
## [1.10.1](v1.10.0...v1.10.1) (2024-03-05)

### Bug Fixes

* increment patch version ([312e25c](312e25c))
  • Loading branch information
semantic-release-bot committed Mar 5, 2024
1 parent 312e25c commit aaf1ff1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions sps-api-standards.spectral.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,23 +162,21 @@ rules:
field: "content"
function: "truthy"
sps-invalid-get-response-code:
description: "GET operations should not use status codes 201, 202, 204, 409, 412"
description: GET operations should not use status codes 201, 202, 204, 409, 412
severity: warn
given: $.paths[*].get.responses
then:
field: "@key"
function: "pattern"
functionOptions:
notMatch: "^(201|202|204|409|412)$"
sps-response-get-missing-code:
description: GET operations must always return both 200 and 404 status codes
sps-response-get-missing-success-code:
description: GET operations must always return 200 status code
severity: error
given: $.paths[*].get.responses
then:
- field: "200"
function: truthy
- field: "404"
function: truthy
sps-invalid-post-response-code:
description: POST operations should not return 412 status codes
given: $.paths[*].post.responses
Expand Down

0 comments on commit aaf1ff1

Please sign in to comment.