libopenapi-validator icon indicating copy to clipboard operation
libopenapi-validator copied to clipboard

Response Headers aren't easily validated

Open comet528 opened this issue 2 years ago • 1 comments

When attempting to validate an http response with a mandatory response header, validation is successful even when the mandatory header is missing.

Challenge is that currently there is a ValidateResponseBody function, but no equivalant ValidateResponseHeaders. Request headers are correctly validated.

comet528 avatar Jan 18 '24 15:01 comet528

This is a gap in the validator and needs to be included.

daveshanley avatar Jan 18 '24 20:01 daveshanley