Skip to content

Commit

Permalink
fix: use snake case
Browse files Browse the repository at this point in the history
  • Loading branch information
jpadilla committed Sep 26, 2023
1 parent 8bd5c66 commit 767c0dd
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 42 deletions.
6 changes: 3 additions & 3 deletions docs/openapiv2/apidocs.swagger.json

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

6 changes: 5 additions & 1 deletion openfga/v1/authzmodel.proto
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,13 @@ message ConditionParamTypeRef {
}

TypeName type_name = 1 [
json_name = "type_name",
(google.api.field_behavior) = REQUIRED,
(validate.rules).enum.defined_only = true
];

repeated ConditionParamTypeRef generic_types = 2 [(validate.rules).repeated.max_items = 5];
repeated ConditionParamTypeRef generic_types = 2 [
json_name = "generic_types",
(validate.rules).repeated.max_items = 5
];
}
77 changes: 39 additions & 38 deletions proto/openfga/v1/authzmodel.pb.go

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

0 comments on commit 767c0dd

Please sign in to comment.