We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96fc6ae commit 138f98fCopy full SHA for 138f98f
tools/spectral/ipa/rulesets/IPA-108.yaml
@@ -24,7 +24,8 @@ rules:
24
##### Implementation details
25
Rule checks for the following conditions:
26
- Applies to all DELETE methods
27
- - Verifies that the method includes a 204 response code
+ - Verifies the 204 No Content response code is present
28
+ - Fails if the method lacks a 204 No Content response or defines a different 2xx status code
29
- Ensures no other 2xx response codes are defined
30
- Fails if the 204 status code is missing or if other 2xx responses exist
31
message: '{{error}} https://mdb.link/mongodb-atlas-openapi-validation#xgen-IPA-108-delete-method-return-204-response'
0 commit comments