Skip to content

Commit 567d71a

Browse files
fix: remove duplicate empty-string alternative in continuation_token regex
The ListStoresRequest.continuation_token validation pattern had a redundant '^$|' prefix, making it '^$|^$|^[A-Za-z0-9-_]+={0,2}$' instead of '^$|^[A-Za-z0-9-_]+={0,2}$' like all other continuation_token fields in the file.
1 parent f917ddb commit 567d71a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openfga/v1/openfga_service.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1835,7 +1835,7 @@ message ListStoresRequest {
18351835
string continuation_token = 2 [
18361836
json_name = "continuation_token",
18371837
(validate.rules).string.max_bytes = 5120,
1838-
(validate.rules).string.pattern = "^$|^$|^[A-Za-z0-9-_]+={0,2}$",
1838+
(validate.rules).string.pattern = "^$|^[A-Za-z0-9-_]+={0,2}$",
18391839
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {example: "\"eyJwayI6IkxBVEVTVF9OU0NPTkZJR19hdXRoMHN0b3JlIiwic2siOiIxem1qbXF3MWZLZExTcUoyN01MdTdqTjh0cWgifQ==\""}
18401840
];
18411841

0 commit comments

Comments
 (0)