====test==== When I send a request to an operation And the operation has a required header And in the request I sent that header is missing Then I should get a 422 response back And the payload of the response should be in application/problem+json content-type ====spec==== openapi: 3.0.2 paths: /pet: get: parameters: - in: header name: x-age required: true responses: '200': description: ok content: application/json: example: "abc" ====server==== mock -p 4010 ${document} ====command==== curl -sIXGET http://127.0.0.1:4010/pet ====expect==== HTTP/1.1 422 Unprocessable Entity content-type: application/problem+json