-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.json
More file actions
36 lines (36 loc) · 1.01 KB
/
schema.json
File metadata and controls
36 lines (36 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"$id": "https://raw.githubusercontent.com/roadrunner-server/protoreg/refs/heads/master/schema.json",
"$schema": "https://json-schema.org/draft/2019-09/schema",
"description": "All the valid configuration parameters for the RoadRunner protoreg plugin.",
"type": "object",
"title": "roadrunner-protoreg",
"additionalProperties": false,
"required": [
"proto_path",
"files"
],
"properties": {
"proto_path": {
"description": "Import paths as specified in `protoc` using the `--proto_path` or shorthand shorthand `-I` command-line flag",
"type": "array",
"minLength": 1,
"examples": [
"protoapis",
"/absolute/path/to/protoapis",
"relative/path/to/protoapis"
]
},
"files": {
"type": "array",
"minItems": 1,
"description": "List of proto files relative to import paths",
"items": {
"type": "string",
"minLength": 1,
"examples": [
"package/v1/message.proto"
]
}
}
}
}