File tree Expand file tree Collapse file tree
schema/gamingplatform/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ option go_package = "github.com/gaming-platform/api/go/common/v1;commonv1";
66option php_namespace = "GamingPlatform\\Api\\Common\\V1" ;
77option php_metadata_namespace = "GamingPlatform\\Api\\GPBMetadata\\Common\\V1" ;
88
9- message Error {
9+ message ErrorResponse {
1010 message Violation {
1111 message Parameter {
1212 string name = 1 ;
Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ syntax = "proto3";
22
33package gamingplatform.api.identity.v1 ;
44
5- import "gamingplatform/api/common/v1/messaging.proto" ;
6-
75option go_package = "github.com/gaming-platform/api/go/identity/v1;identityv1" ;
86option php_namespace = "GamingPlatform\\Api\\Identity\\V1" ;
97option php_metadata_namespace = "GamingPlatform\\Api\\GPBMetadata\\Identity\\V1" ;
@@ -23,17 +21,15 @@ message RegisterBot {
2321}
2422
2523message RegisterBotResponse {
26- message Success {string bot_id = 1 ;}
27- oneof result {Success success = 1 ; gamingplatform.api.common.v1.Error error = 2 ;}
24+ string bot_id = 1 ;
2825}
2926
3027message GetBotByUsername {
3128 string username = 1 ;
3229}
3330
3431message GetBotByUsernameResponse {
35- message Success {Bot bot = 1 ;}
36- oneof result {Success success = 1 ; gamingplatform.api.common.v1.Error error = 2 ;}
32+ Bot bot = 1 ;
3733}
3834
3935message Bot {
You can’t perform that action at this time.
0 commit comments