From 0f8fb259695e4526923b90fef2b0f875e8daa710 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Wed, 10 Feb 2021 01:45:38 +0300 Subject: [PATCH] [#128] object: Add json_name tags to fields of SearchRequest.Body.Filter Signed-off-by: Leonard Lyubich --- object/service.proto | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/object/service.proto b/object/service.proto index d31422a..b975945 100644 --- a/object/service.proto +++ b/object/service.proto @@ -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;