mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
feat: add buf plugin to generate openapiv2 spec (#2843)
This commit is contained in:
2113
api/v2/v2.swagger.yaml
Normal file
2113
api/v2/v2.swagger.yaml
Normal file
File diff suppressed because it is too large
Load Diff
@@ -18,6 +18,9 @@ plugins:
|
||||
out: gen
|
||||
opt:
|
||||
- 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.
|
||||
- plugin: buf.build/community/stephenh-ts-proto:v1.152.1
|
||||
out: ../web/src/types/proto
|
||||
|
Reference in New Issue
Block a user