AspLabs icon indicating copy to clipboard operation
AspLabs copied to clipboard

Add Query Parameters Resolver to Grpc Swagger

Open nicks219 opened this issue 3 years ago • 1 comments

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: https://github.com/dotnet/aspnetcore/issues/42407 Thank you.

nicks219 avatar Aug 23 '22 18:08 nicks219

CLA assistant check
All CLA requirements met.

dnfgituser avatar Aug 23 '22 18:08 dnfgituser