iYaDongWang commented on issue #5004: URL: https://github.com/apache/shenyu/issues/5004#issuecomment-1676994082
> use this annotation with method I don't think it's a good idea to use `@ShenyuSpringMvcClient` everywhere. In fact, the implementation logic of the `SpringMvcClientEventListener#buildApiPath` function is that if the client annotation doesn't get the path, it will demote the requestMapping annotation to get the path. what causes the problem is that before calling this function, if the variable `methodShenyuClient `is null, it assigns the `beanShenyuClient` to the variable `methodShenyuClient`. -- 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]
