[#73] Add JSON field names to accounting package

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
This commit is contained in:
Stanislav Bogatyrev 2020-10-19 09:32:00 +03:00 committed by Stanislav Bogatyrev
parent 4f01f4b902
commit 44d7f7a622

View file

@ -14,9 +14,9 @@ option csharp_namespace = "NeoFS.API.v2.Accounting";
// description.
message Decimal {
// Number in smallest Token fractions.
int64 value = 1;
int64 value = 1 [json_name = "value"];
// Precision value indicating how many smallest fractions can be in one
// integer.
uint32 precision = 2;
uint32 precision = 2 [json_name = "precision"];
}