Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: swagger doesn't work with multiple proto files #687

Merged
merged 2 commits into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions www/grpc/buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ plugins:
- name: openapiv2
out: swagger-ui
opt:
- grpc_api_configuration=grpc-gateway.config.yaml
- grpc_api_configuration=grpc-gateway.config.yaml,allow_merge=true,merge_file_name=pactus
- plugin: buf.build/protocolbuffers/js:v3.21.2
out: gen/js
opt:
Expand All @@ -33,4 +33,4 @@ plugins:
- plugin: buf.build/protocolbuffers/python:v21.8
out: gen/python
- plugin: buf.build/grpc/python:v1.50.0
out: gen/python
out: gen/python
2 changes: 1 addition & 1 deletion www/grpc/gen/go/blockchain.pb.gw.go

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

2 changes: 1 addition & 1 deletion www/grpc/gen/go/network.pb.gw.go

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

2 changes: 1 addition & 1 deletion www/grpc/gen/go/transaction.pb.gw.go

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

4 changes: 2 additions & 2 deletions www/grpc/gen/go/wallet.pb.gw.go

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

8 changes: 5 additions & 3 deletions www/grpc/statik/statik.go

Large diffs are not rendered by default.

212 changes: 0 additions & 212 deletions www/grpc/swagger-ui/network.swagger.json

This file was deleted.

Loading