Skip to content

Commit 3583905

Browse files
authored
fix: correct position of context in assertion (#196)
Note: this is not a breaking change as it has not been released yet
1 parent a80adac commit 3583905

File tree

3 files changed

+1502
-1497
lines changed

3 files changed

+1502
-1497
lines changed

docs/openapiv2/apidocs.swagger.json

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

openfga/v1/openfga_service.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1595,7 +1595,7 @@ message Assertion {
15951595

15961596
// Additional request context that will be used to evaluate any ABAC conditions encountered
15971597
// in the query evaluation.
1598-
google.protobuf.Struct context = 6;
1598+
google.protobuf.Struct context = 4 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {example: '{"view_count": 100}'}];
15991599
}
16001600

16011601
message Assertions {

0 commit comments

Comments
 (0)