2021-12-19 15:30:21 +07:00
|
|
|
; pin protoc version
|
|
|
|
[protoc]
|
|
|
|
version=v3.19.1
|
|
|
|
|
|
|
|
; go
|
|
|
|
[generate go]
|
|
|
|
json_tag_postproc=true
|
|
|
|
[generate go-grpc]
|
|
|
|
[generate grpc-gateway]
|
|
|
|
|
|
|
|
; swagger/openapiv2
|
|
|
|
[generate openapiv2]
|
|
|
|
out=./gen/json/{{ .Package }}
|
|
|
|
|
|
|
|
[generate grpc-gateway-ts] ; typescript
|
2021-12-23 03:09:24 +07:00
|
|
|
out=../../web_src/lib/pb
|
2022-04-28 23:31:09 +07:00
|
|
|
ts_import_roots=../../web_src/lib/pb
|
|
|
|
fetch_module_directory=../../web_src/lib/pb
|
|
|
|
ts_import_root_aliases=.
|