Skip to content

Commit

Permalink
fix: correct position of context in assertion (#196)
Browse files Browse the repository at this point in the history
Note: this is not a breaking change as it has not been released yet
  • Loading branch information
rhamzeh authored Sep 5, 2024
1 parent a80adac commit 3583905
Show file tree
Hide file tree
Showing 3 changed files with 1,502 additions and 1,497 deletions.
3 changes: 3 additions & 0 deletions docs/openapiv2/apidocs.swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion openfga/v1/openfga_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1595,7 +1595,7 @@ message Assertion {

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

message Assertions {
Expand Down
Loading

0 comments on commit 3583905

Please sign in to comment.