Skip to content

Commit

Permalink
chore: fix swagger docs for consistency pref (#191)
Browse files Browse the repository at this point in the history
* chore: fix swagger docs for consistency pref

* ignore openfga_service.proto for enum lint rules

* chore: Add periods for better swagger rendering.

* feat: Add description documentation for consistency in Check and ListObjects

* fix: set a different example for ConsistencyPreference

* regen files after rebase on latest

* move consistency enum to its own proto file; allows linting

* update generation after rebasing on latest main
  • Loading branch information
jimmyjames authored Sep 6, 2024
1 parent 3583905 commit 102620e
Show file tree
Hide file tree
Showing 8 changed files with 2,566 additions and 2,337 deletions.
4 changes: 3 additions & 1 deletion buf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,7 @@ lint:
- openfga/v1/errors_ignore.proto
ENUM_VALUE_PREFIX:
- openfga/v1/errors_ignore.proto
- openfga/v1/openfga_service_consistency.proto
ENUM_ZERO_VALUE_SUFFIX:
- openfga/v1/errors_ignore.proto
- openfga/v1/errors_ignore.proto
- openfga/v1/openfga_service_consistency.proto
8 changes: 4 additions & 4 deletions docs/openapiv2/apidocs.swagger.json

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

Loading

0 comments on commit 102620e

Please sign in to comment.