Skip to content

Commit cf1c665

Browse files
authored
refactor: frontier provider and add api documentation (#395)
* docs: automate creating api references with new make command * refactor: frontier provider for the org, group and project access * test: fix tests for frontier provider * docs: update frontier provider docs for latest configs * chore: rename frontier provider teams to group * chore: add changes from suggestion
1 parent 575b7ab commit cf1c665

File tree

70 files changed

+25265
-2032
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+25265
-2032
lines changed

Makefile

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,18 @@ setup: ## Install all the dependencies
7979
go install github.com/golang/protobuf/[email protected]
8080
go install github.com/golang/protobuf/[email protected]
8181
go install google.golang.org/[email protected]
82-
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1.0
82+
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.29.0
8383
go install github.com/grpc-ecosystem/grpc-gateway/v2/[email protected]
8484
go install github.com/grpc-ecosystem/grpc-gateway/v2/[email protected]
85-
go install github.com/bufbuild/buf/cmd/buf@v1.15.1
85+
go install github.com/bufbuild/buf/cmd/buf@v1.29.0
8686

8787
help: ## Display this help message
8888
@cat $(MAKEFILE_LIST) | grep -e "^[a-zA-Z_\-]*: *.*## *" | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
89+
90+
doc: ## Generate api documentation
91+
@echo ">genetate api docs"
92+
@cd $(CURDIR)/docs/docs; yarn docusaurus clean-api-docs all; yarn docusaurus gen-api-docs all
93+
94+
doc-build: ## Run documentation locally
95+
@echo "> building docs"
96+
@cd $(CURDIR)/docs/docs; yarn start

api/proto/raystack/guardian/v1beta1/guardian.pb.go

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

api/proto/raystack/guardian/v1beta1/guardian.pb.gw.go

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

0 commit comments

Comments
 (0)