Merge pull request #11 from nspcc-dev/service-fix-token-message

service: remove gogoproto customname from embedded Token.Info field
This commit is contained in:
Leonard Lyubich 2020-04-28 11:26:09 +03:00 committed by GitHub
commit 54147ddad2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -107,7 +107,7 @@ User token granting rights for object manipulation
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| info | [Token.Info](#service.Token.Info) | | Info is a grouped information about token | | TokenInfo | [Token.Info](#service.Token.Info) | | Info is a grouped information about token |
| Signature | [bytes](#bytes) | | Signature is a signature of session token information | | Signature | [bytes](#bytes) | | Signature is a signature of session token information |

View file

@ -68,8 +68,8 @@ message Token {
bytes SessionKey = 7; bytes SessionKey = 7;
} }
// Info is a grouped information about token // TokenInfo is a grouped information about token
Info info = 1 [(gogoproto.embed) = true, (gogoproto.nullable) = false, (gogoproto.customname) = "Info"]; Info TokenInfo = 1 [(gogoproto.embed) = true, (gogoproto.nullable) = false];
// Signature is a signature of session token information // Signature is a signature of session token information
bytes Signature = 8; bytes Signature = 8;