Files
gateway/tests/fixtures/specs/integration_jsonschema.json

25 lines
640 B
JSON

{
"@comment": "Makes sure that the health endpoint contains three fields with the right types",
"in": {
"url": "http://localhost:8080/__health"
},
"out": {
"status_code": 200,
"schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"required": ["agents","now","status"],
"properties": {
"agents": {
"type": "object"
},
"now": {
"type": "string"
},
"status": {
"type": "string",
"enum": ["ok"]
}
}
}
}
}