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