Skip to content

Commit 3fcb5e2

Browse files
committed
fix api user name
1 parent b9454d8 commit 3fcb5e2

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

go/iam/api_user/v1/api_user.pb.go

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proto/meshtrade/iam/api_user/v1/api_user.proto

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ package meshtrade.iam.api_user.v1;
55
import "buf/validate/validate.proto";
66

77
option go_package = "github.com/meshtrade/api/go/iam/api_user/v1;api_user_v1";
8-
option java_package = "co.meshtrade.api.iam.api_user.v1";
98
option java_outer_classname = "ApiUserOuterClass";
9+
option java_package = "co.meshtrade.api.iam.api_user.v1";
1010

1111
/*
1212
Represents an API user for automated authentication and authorization.
@@ -18,15 +18,15 @@ option java_outer_classname = "ApiUserOuterClass";
1818
message APIUser {
1919
/*
2020
The unique resource name for the API user.
21-
Format: api_users/{ULIDv2}.
21+
Format: iam/api_users/{ULIDv2}.
2222
This field is system-generated and immutable upon creation.
2323
Any value provided on creation is ignored.
2424
*/
2525
string name = 1 [(buf.validate.field) = {
2626
cel: {
2727
id: "name.format.optional"
2828
message: "name must be empty or in the format api_users/{ULIDv2}"
29-
expression: "size(this) == 0 || this.matches('^api_users/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$')"
29+
expression: "size(this) == 0 || this.matches('^iam/api_users/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$')"
3030
}
3131
}];
3232

0 commit comments

Comments
 (0)