Skip to content

Commit

Permalink
refactor: frontier provider and add api documentation (#395)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Chief-Rishab authored Nov 20, 2023
1 parent 575b7ab commit cf1c665
Show file tree
Hide file tree
Showing 70 changed files with 25,265 additions and 2,032 deletions.
12 changes: 10 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,18 @@ setup: ## Install all the dependencies
go install github.com/golang/protobuf/proto@v1.5.2
go install github.com/golang/protobuf/protoc-gen-go@v1.5.2
go install google.golang.org/grpc@v1.40.0
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1.0
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.29.0
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@v2.5.0
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@v2.5.0
go install github.com/bufbuild/buf/cmd/buf@v1.15.1
go install github.com/bufbuild/buf/cmd/buf@v1.29.0

help: ## Display this help message
@cat $(MAKEFILE_LIST) | grep -e "^[a-zA-Z_\-]*: *.*## *" | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

doc: ## Generate api documentation
@echo ">genetate api docs"
@cd $(CURDIR)/docs/docs; yarn docusaurus clean-api-docs all; yarn docusaurus gen-api-docs all

doc-build: ## Run documentation locally
@echo "> building docs"
@cd $(CURDIR)/docs/docs; yarn start
2 changes: 1 addition & 1 deletion api/proto/raystack/guardian/v1beta1/guardian.pb.go

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

996 changes: 580 additions & 416 deletions api/proto/raystack/guardian/v1beta1/guardian.pb.gw.go

Large diffs are not rendered by default.

Loading

0 comments on commit cf1c665

Please sign in to comment.