Skip to content

Conversation

xclud
Copy link

@xclud xclud commented Mar 24, 2022

When response_body is set in the proto file, the swagger still displays the schema from the response (actually MethodDescriptor.OutputType.ClrType) instead of response[response_body] while the data returned from the service is correct as expected.

This PR fixes the wrong swagger schema generation.

@ghost
Copy link

ghost commented Mar 24, 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