Skip to content

Commit 07d9e64

Browse files
authored
Merge branch 'main' into update-regex-validation
2 parents d6407ed + 7c098f1 commit 07d9e64

File tree

6 files changed

+187
-101
lines changed

6 files changed

+187
-101
lines changed

docs/openapiv2/apidocs.swagger.json

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

openfga/v1/errors_ignore.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ enum ErrorCode {
7272
invalid_authorization_model = 2056;
7373
unsupported_schema_version = 2057;
7474
cancelled = 2058;
75+
invalid_start_time = 2059;
7576
}
7677

7778
enum UnprocessableContentErrorCode {

openfga/v1/openfga_service.proto

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,6 +1420,18 @@ message ReadChangesRequest {
14201420
(validate.rules).string.max_bytes = 5120,
14211421
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {example: "\"eyJwayI6IkxBVEVTVF9OU0NPTkZJR19hdXRoMHN0b3JlIiwic2siOiIxem1qbXF3MWZLZExTcUoyN01MdTdqTjh0cWgifQ==\""}
14221422
];
1423+
1424+
google.protobuf.Timestamp start_time = 5 [
1425+
json_name = "start_time",
1426+
(validate.rules).timestamp.lt_now = true,
1427+
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
1428+
description:
1429+
"Start date and time of changes to read.\n"
1430+
"Format: ISO 8601 timestamp (e.g., 2022-01-01T00:00:00Z)\n"
1431+
"If a continuation_token is provided along side start_time, the continuation_token will take precedence over start_time."
1432+
example: "2021-01-01T00:00:00.000Z"
1433+
}
1434+
];
14231435
}
14241436

14251437
message ReadChangesResponse {

proto/openfga/v1/errors_ignore.pb.go

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

0 commit comments

Comments
 (0)