refs: Tidy up the format

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-08-06 01:23:57 +03:00 committed by Stanislav Bogatyrev
parent 9fadf4cc84
commit 46fe7b93cd
2 changed files with 7 additions and 4 deletions

View file

@ -33,8 +33,8 @@ Address of object (container id + object id)
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| ObjectID | [ObjectID](#refs.ObjectID) | | ObjectID carries object identifier. |
| ContainerID | [ContainerID](#refs.ContainerID) | | ContainerID carries container identifier. | | ContainerID | [ContainerID](#refs.ContainerID) | | ContainerID carries container identifier. |
| ObjectID | [ObjectID](#refs.ObjectID) | | ObjectID carries object identifier. |
<a name="refs.ContainerID"></a> <a name="refs.ContainerID"></a>

View file

@ -1,14 +1,17 @@
syntax = "proto3"; syntax = "proto3";
package refs; package refs;
option go_package = "github.com/nspcc-dev/neofs-api-go/refs"; option go_package = "github.com/nspcc-dev/neofs-api-go/refs";
option csharp_namespace = "NeoFS.API.Refs"; option csharp_namespace = "NeoFS.API.Refs";
// Address of object (container id + object id) // Address of object (container id + object id)
message Address { message Address {
// ObjectID carries object identifier.
ObjectID ObjectID = 1;
// ContainerID carries container identifier. // ContainerID carries container identifier.
ContainerID ContainerID = 2; ContainerID ContainerID = 1;
// ObjectID carries object identifier.
ObjectID ObjectID = 2;
} }
// ObjectID groups information about the NeoFS object identifier. // ObjectID groups information about the NeoFS object identifier.