IBM / openapi-validator

Configurable and extensible validator/linter for OpenAPI documents
Apache License 2.0
481 stars 88 forks source link

fix(ibm-response-status-codes): allow PUT w/204 if a GET w/204 exists #660

Closed padamstx closed 5 months ago

padamstx commented 5 months ago

PR summary

This commit modifies the ibm-response-status-codes rule so that a PUT that returns a 204 status code will be allowed if there is a corresponding GET operation on the same path that also returns a 204.

PR Checklist

General checklist

Please make sure that your PR fulfills the following requirements:

Checklist for adding a new validation rule:

ibm-devx-sdk commented 5 months ago

:tada: This PR is included in version 1.15.9 :tada:

The release is available on npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:

ibm-devx-sdk commented 5 months ago

:tada: This PR is included in version 1.16.10 :tada:

The release is available on npm package (@latest dist-tag)

Your semantic-release bot :package::rocket: