We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using post: "/v1/Things/{thing}/Services/{service}", swagger execute with wrong url.
Should call http://localhost:8080/v1/Things/Thing1/Services/Start
http://localhost:8080/v1/Things/Thing1/Services/Start
The text was updated successfully, but these errors were encountered:
It is related to #702 and #2562
so how to use string name = 1 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {field_configuration: {path_param_name: "shelfName"}}];
string name = 1 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {field_configuration: {path_param_name: "shelfName"}}];
I am using buf
unknown extension grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field
this is my buf.gen.yaml
version: v1 plugins: - name: go out: api/gen/proto/go opt: - paths=source_relative - name: go-grpc out: api/gen/proto/go opt: - paths=source_relative - name: grpc-gateway out: api/gen/proto/go opt: - paths=source_relative - name: openapiv2 out: docs/swagger opt: - allow_merge=true strategy: all
buf.yaml
version: v1 deps: - buf.build/googleapis/googleapis - buf.build/grpc-ecosystem/grpc-gateway breaking: use: - FILE lint: use: - DEFAULT
Sorry, something went wrong.
No branches or pull requests
🐛 Bug Report
When using post: "/v1/Things/{thing}/Services/{service}", swagger execute with wrong url.
Expected behavior
Should call
http://localhost:8080/v1/Things/Thing1/Services/Start
Actual Behavior
The text was updated successfully, but these errors were encountered: