Ensure schema defined for each response that is not head or its code is not 204 or 304

Ensure that the response of an operation is head or its code is 204 (No Content) or 304 (Not Modified), it does not have a content defined in OpenAPI. According to the OpenAPI specification and RFC 7331, these responses are not supposed to have a body, and specifying content for them may cause confusion or errors.