S05: NATS endpoint catalog, passthrough and error-bundle docs
This commit is contained in:
commit
0cf87863d4
15 changed files with 1315 additions and 0 deletions
28
catalog/schema.json
Normal file
28
catalog/schema.json
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "NATS-Service-Endpoints catalog",
|
||||
"type": "object",
|
||||
"required": ["version", "endpoints"],
|
||||
"properties": {
|
||||
"version": {"type": "string"},
|
||||
"endpoints": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["name", "for", "from", "to", "in", "out", "encryption", "reject"],
|
||||
"properties": {
|
||||
"name": {"type": "string"},
|
||||
"pattern": {"type": "string"},
|
||||
"for": {"type": "string"},
|
||||
"from": {"type": "array", "items": {"type": "string"}},
|
||||
"to": {"oneOf": [{"type": "string"}, {"type": "array", "items": {"type": "string"}}]},
|
||||
"in": {},
|
||||
"out": {},
|
||||
"encryption": {"type": "string"},
|
||||
"reject": {"type": "array", "items": {"type": "string"}},
|
||||
"dead": {"type": "string"}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue