docs: add OpenAPI docs
This commit is contained in:
@@ -32,7 +32,12 @@ for %%A in (%*) do (
|
||||
if not exist !out! mkdir !out!
|
||||
echo Generating Go HTTP code
|
||||
!cmd! ^
|
||||
--grpc-gateway_out=grpc_api_configuration=bdware/bdledger/api/grpc-gateway.yml,logtostderr=true:!out! ^
|
||||
--grpc-gateway_out !out! ^
|
||||
--grpc-gateway_opt grpc_api_configuration=bdware/bdledger/api/grpc-gateway.yml ^
|
||||
--grpc-gateway_opt logtostderr=true ^
|
||||
--openapiv2_out ..\..\docs\openapiv2 ^
|
||||
--openapiv2_out grpc_api_configuration=bdware/bdledger/api/grpc-gateway.yml ^
|
||||
--openapiv2_opt logtostderr=true ^
|
||||
%pb_files%
|
||||
)
|
||||
if "%%A"=="nodejs" (
|
||||
|
||||
Reference in New Issue
Block a user