====test==== When prism is started with no dynamic flag, responses should be built with examples from the spec. ====spec==== { "info": { "name": "Test" }, "item": [ { "id": "3b4f5a70-2a8f-46ba-a04b-a6f80621ad3f", "request": { "url": { "path": ["todos"] }, "method": "GET" }, "response": [ { "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\"title\":\"Work\",\"description\":\"string\",\"priority\":0}" } ] } ] } ====server==== mock -p 4010 ${document} ====command==== curl -i http://localhost:4010/todos ====expect==== HTTP/1.1 200 OK {"title":"Work","description":"string","priority":0}