From f7bd46baf804ae11696ae119a6763c3bb8293494 Mon Sep 17 00:00:00 2001 From: Stanislav Bogatyrev Date: Mon, 19 Oct 2020 12:30:51 +0300 Subject: [PATCH] [#73] Add JSON field names to refs package Signed-off-by: Stanislav Bogatyrev --- refs/types.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/refs/types.proto b/refs/types.proto index 37e3e80..f56819e 100644 --- a/refs/types.proto +++ b/refs/types.proto @@ -9,9 +9,9 @@ option csharp_namespace = "NeoFS.API.v2.Refs"; // format there MUST be a '/' delimeter between them. message Address { // Container identifier - ContainerID container_id = 1 [json_name = "container"]; + ContainerID container_id = 1 [json_name = "containerID"]; // Object identifier - ObjectID object_id = 2 [json_name = "object"]; + ObjectID object_id = 2 [json_name = "objectID"]; } // NeoFS Object unique identifier. Objects are immutable and content-addressed.