protoc-gen-swagger/genswagger template.go template_test.go runtime errors.go 2 changes: 1 addition & 1 deletion 2 Makefile Show comments View file Edit file Delete file This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below....
Adds a "default" error entry to all responses in the swagger definitions. Fixes #1122 I can't think of a reason why this wouldn't be backwards compatible.
确定同步? 同步操作将从小峰同学/skywalking强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!! 确定后同步将在后台操作,完成时将刷新页面,请耐心等待。 删除在远程仓库中不存在的分支和标签 同步Wiki(当前仓库的 wiki 将会被覆盖!)
master remove-endpoint-register 6.x 5.x hotfix/5.0.0-alpha feature/3.1.x feature/3.0.x feature/2.x v7.0.0 v6.6.0 v6.5.0 v6.4.0 v6.3.0 v6.2.0 v6.1.0 v6.0.0-GA v6.0.0-beta v6.0.0-alpha v5.0.0-GA v5.0.0-RC2
git clone https://github.com/dangerous1990/protoc-gen-yswagger.git 3. 执行init.sh 进入protoc-plugins项目执行 ./init.sh 4. sample hello.proto syntax = "proto3"; import "google/api/annotations.proto"; service HelloWorld { // hello rpc Hello (HelloReq) returns (HelloReply) { option (googl...
protoc-gen-swagger plugin forasdfversion manager Install asdf plugin-add protoc-gen-swagger https://github.com/team-gary/asdf-protoc-gen-swagger.git Use Check out theasdfreadme for instructions on how to install and manage versions. License ...
go install github.com/Red-Sock/protoc-gen-docs@v0.0.1 Using You can find copy&paste example at example folder Basic usage .gen-server-grpc: protoc \ -I=./api \ -I $(GOPATH)/bin \ --openapiv2_out=./pkg/docs/swaggers \ --docs_out=./pkg/docs \ ./api/grpc/*.proto This scrip...
swagger.go Breadcrumbs protoc-gen-go-gin / swagger.go Latest commit ming.guo support origin reply c112c3e· Nov 14, 2023 HistoryHistory File metadata and controls Code Blame 11 lines (8 loc) · 175 Bytes Raw package main import ( "os" "github.com/guoming0000/protoc-gen-go-gin/cmd/...
Want to use import "protoc-gen-swagger/options/openapiv2.proto"; in *.proto, but it complains that file not found. Year or so ago i was doing something like this cp $GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/google /usr/local/include/google to copy the ...
protoc -I/usr/local/include -I. \ -I$GOPATH/src \ -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \ --swagger_out=logtostderr=true:. \ path/to/your_service.proto Parameters and flags protoc-gen-grpc-gatewaysupports custom mapping from Protobufimportto Golang...