[#128] object: Add json_name tags to fields of SearchRequest.Body.Filter

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-02-10 01:45:38 +03:00 committed by Stanislav Bogatyrev
parent 3b6f5d70ec
commit 0f8fb25969

View file

@ -356,13 +356,13 @@ message SearchRequest {
// Behavior when processing this kind of filters is undefined.
message Filter {
// Match type to use
MatchType match_type = 1;
MatchType match_type = 1 [json_name = "matchType"];
// Attribute or Header fields to match
string key = 2;
string key = 2 [json_name = "key"];
// Value to match
string value = 3;
string value = 3 [json_name = "value"];
}
// List of search expressions
repeated Filter filters = 3;