eye-gu commented on code in PR #3280: URL: https://github.com/apache/dubbo-go/pull/3280#discussion_r3051677213
########## protocol/triple/server.go: ########## Review Comment: Fixed. buildMethodInfoWithReflection now only records request.type when there is exactly one parameter, and only records response.type when the signature is a reliable unary shape (exactly 2 return values where the second implements error). Non-standard method signatures will simply not have OpenAPI request/response schema generated. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
