Skip to content
New issue

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

Add Query Parameters Resolver to Grpc Swagger #545

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nicks219
Copy link

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.

@ghost
Copy link

ghost commented Aug 23, 2022

CLA assistant check
All CLA requirements met.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant