====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==== swagger: '2.0' paths: /pet/a/{b}: get: parameters: - in: path name: b required: true type: number responses: '200': description: ok schema: type: string ====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