-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
(I know this project is looking for a new maintainer but we can still report issues in the meantime)
As per https://swagger.io/docs/specification/2-0/mime-types/
Note that consumes only affects operations with a request body, such as POST, PUT and PATCH. It is ignored for bodiless operations like GET.
Hence, this library shouldn't verify consumes for GET and DELETE and failures like below should be ignored.
The following 6 assertions failed:
1) [Checking 'consumes' of 'GET' operation of path '/v1/failure-messages']
Expecting:
<["*/*"]>
to contain only:
<["application/json"]>
elements not found:
<["application/json"]>
and elements not expected:
<["*/*"]>
Metadata
Metadata
Assignees
Labels
No labels