If operation has only one HTTP response defined, the HTTP status code should be for a success

Description

One or more operations in your API have only one response defined for them, but the HTTP status code in the response definition is not for a successful operation.

For more details, see the OpenAPI Specification.

Remediation

Make sure that all operations have at least one HTTP response for a successful operation defined.


Copyright 42Crunch 2021