====test==== When I send a request to an operation And the operation has a required path segment with a hyphen in it And in the request I sent that segment is present I should get a 200 response back And the payload of the response should be in application/json content-type ====spec==== swagger: '2.0' paths: /pet/a/{b-id}: get: produces: - application/json parameters: - in: path name: b-id required: true type: number responses: '200': description: ok examples: application/json: "ok" ====server==== mock -p 4010 ${document} ====command==== curl -i -X GET http://127.0.0.1:4010/pet/a/1 ====expect==== HTTP/1.1 200 OK content-type: application/json "ok"