====test==== When I send a request to an operation And in the path I specify ?__code=404 And the operation has no 404 status code response defined And the operation has only the 400 status code defined Then I get back a 404 response with an error code ====spec==== { "info": { "name": "Test" }, "item": [ { "id": "3b4f5a70-2a8f-46ba-a04b-a6f80621ad3f", "request": { "url": { "path": ["todos"] }, "method": "GET" }, "response": [ { "description": "test", "code": 400 } ] } ] } ====server==== mock -p 4010 ${document} ====command==== curl -i -X GET http://localhost:4010/todos?__code=404 ====expect==== HTTP/1.1 404 Not Found content-type: application/problem+json {"type":"https://stoplight.io/prism/errors#NOT_FOUND","title":"The server cannot find the requested content","status":404,"detail":"Requested status code 404 is not defined in the document."}