Add Query Parameters Resolver to Grpc Swagger #545
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Grpc Swagger does not describe and display gRPC transcoding "query" parameters, while describes "path" and "body" parameters. There is a modest desire to supplement the code with a "query" parameters resolver, wich allows mapped "query" parameters in accordance with the rules of the gRPC transcoding Http Rule Reference: https://cloud.google.com/endpoints/docs/grpc-service-config/reference/rpc/google.api#google.api.HttpRule
I wrote the ResolveQueryParameterDescriptors method in the class ServiceDescriptorHelpers with a test for the GrpcHttpApi project. Related to the discussion: dotnet/aspnetcore#42407
Thank you.