// SearchRequest note
message SearchRequest {
string query = 1; // note1
int32 page_number = 2; // note2
int32 result_per_page = 3; // note3
repeated string snippets = 4; // note4
Corpus corpus = 5;
}
// Parsing return time
// example
{
"type": "field",
"typename": "map",
"key": "int32",
"value": "string",
"name": "bla",
"note": "note 4" // this add
"fieldNo": 1,
"opts": {}
}
To give a suggestion, it is best to put an example.proto file in the library, so that it is easy to understand.