AspLabs icon indicating copy to clipboard operation
AspLabs copied to clipboard

Fix wrong swagger schema generation when `response_body` is set.

Open xclud opened this issue 3 years ago • 1 comments

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.

xclud avatar Mar 24 '22 10:03 xclud

CLA assistant check
All CLA requirements met.

dnfgituser avatar Mar 24 '22 10:03 dnfgituser