blob: 530d74ad15c1eef7d58ea62c498328f70c6d959b [file] [log] [blame]
Zsolt Harasztia9a12dc2016-09-27 13:48:35 -07001syntax = "proto3";
2
3package schema;
4
5// Proto file and compiled descriptor for this interface
6message Schema {
7
8 // file name -> proto file content
9 map<string, string> protos = 1;
10
11 // file name -> gzip compressed protobuf of descriptor
12 map<string, bytes> descriptors = 2;
13
14}
15
16// Empty message
17message NullMessage {}
18
19// Schema services
20service SchemaService {
21
22 // Return active grpc schemas
23 rpc GetSchema(NullMessage) returns (Schema) {}
24
25}