Sha256: 3eb24574d0de7c3c4d19d3cf20f5c107943b9989f85b86f19da6c0ddfc7f4350
Contents?: true
Size: 736 Bytes
Versions: 3
Compression:
Stored size: 736 Bytes
Contents
{ "name": "Echo", "request": { "headers": { "Content-Type": "text/plain" }, "http_method": "post", "path": "/api/echo", "schema": { "$schema": "http://json-schema.org/draft-03/schema#", "oneOf": [ { "type": "string", "required": true }, { "type": "object", "required": true } ] } }, "response": { "status": 201, "schema": { "$schema": "http://json-schema.org/draft-03/schema#", "oneOf": [ { "type": "string", "required": true }, { "type": "object", "required": true } ] } }, "examples": { "foo": { "request": { "body": "foo" }, "response": { "body": "foo" } } } }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pacto-0.4.0.rc3 | samples/contracts/localhost/api/echo.json |
pacto-0.4.0.rc2 | samples/contracts/localhost/api/echo.json |
pacto-0.4.0.rc1 | samples/contracts/localhost/api/echo.json |