post-response-success
Make sure that every POST
operation has a successful response code (2XX or 3XX).
Why did this violation appear?
A POST
operation in your specification does not have a successful response code defined.
Bad example
paths:
/snakes/cakes:
post:
description: "No response codes defined";
How do I fix this violation?
Ensure that every POST
operation has a successful response code (2XX or 3XX).