diff --git a/tests/fixtures/endpoints.json b/tests/fixtures/endpoints.json new file mode 100644 index 0000000..2303df8 --- /dev/null +++ b/tests/fixtures/endpoints.json @@ -0,0 +1,32 @@ +{ + "version": "1.0.0", + "endpoints": [ + { + "path": "/api/users", + "method": "GET", + "name": "List Users", + "response": { + "status_code": 200, + "body": { + "users": [ + {"id": 1, "name": "Alice"}, + {"id": 2, "name": "Bob"} + ], + "total": 2 + } + } + }, + { + "path": "/api/users/{id}", + "method": "GET", + "name": "Get User", + "response": { + "status_code": 200, + "body": { + "id": "{{request.path.id}}", + "name": "User {{request.path.id}}" + } + } + } + ] +}