Unverified Commit 887903b6 authored by Lincoln Nogueira's avatar Lincoln Nogueira Committed by GitHub

feat: add buf plugin to generate openapiv2 spec (#2843)

parent 309fab22
This diff is collapsed.
...@@ -18,6 +18,9 @@ plugins: ...@@ -18,6 +18,9 @@ plugins:
out: gen out: gen
opt: opt:
- paths=source_relative - paths=source_relative
- plugin: buf.build/grpc-ecosystem/openapiv2:v2.19.0
out: ../api/v2/
opt: output_format=yaml,allow_merge=true,merge_file_name=v2
# Build the TypeScript definitions for the web. # Build the TypeScript definitions for the web.
- plugin: buf.build/community/stephenh-ts-proto:v1.152.1 - plugin: buf.build/community/stephenh-ts-proto:v1.152.1
out: ../web/src/types/proto out: ../web/src/types/proto
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment