====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==== openapi: 3.0.2 paths: /pet/a/{b-id}: get: parameters: - in: path name: b-id required: true schema: type: number responses: 200: content: description: ok application/json: example: "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"