spec/integration/data/simple_contract.json in pacto-0.2.1 vs spec/integration/data/simple_contract.json in pacto-0.2.2
- old
+ new
@@ -1,25 +1,22 @@
{
"request": {
"method": "GET",
- "path": "/simple_contract.json",
+ "path": "/hello",
"headers": {
"Accept": "application/json"
},
"params": {}
},
"response": {
"status": 200,
- "headers": {
- "Content-Type": "application/json"
- },
+ "headers": { "Content-Type": "application/json" },
"body": {
"type": "object",
+ "required": true,
"properties": {
- "message": {
- "type": "string"
- }
+ "message": { "type": "string", "required": true }
}
}
}
}