Skip to content

Commit

Permalink
fix: fix protoc-gen-openapiv2/options import issue
Browse files Browse the repository at this point in the history
  • Loading branch information
pinglin committed May 16, 2022
1 parent e6df797 commit 26cc626
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ managed:
default: github.com/instill-ai/protogen-go
except:
- buf.build/googleapis/googleapis
- buf.build/grpc-ecosystem/grpc-gateway
plugins:
- remote: buf.build/protocolbuffers/plugins/python:v3.19.3-1
out: gen/python
Expand All @@ -25,11 +26,11 @@ plugins:
- paths=source_relative
- generate_unbound_methods=true
- remote: buf.build/grpc-ecosystem/plugins/openapiv2:v2.10.0-1
out: openapiv2
out: gen/openapiv2
opt:
- output_format=yaml
- json_names_for_fields=false
- allow_merge=true,merge_file_name=openapiv2
- allow_merge=true,merge_file_name=gen/openapiv2
- version=true
- remote: buf.build/sawadashota/plugins/protoc-gen-doc:v1.5.0
out: gen/grpc-doc
Expand Down

0 comments on commit 26cc626

Please sign in to comment.