Closed shalousun closed 3 months ago
No response
3.0.7
smart-doc-maven-plugin
3.8.6
17
When using encoders to specify only one class, the write encoders = MessageResponseEncoder.class does not resolve the response parameters.
encoders = MessageResponseEncoder.class
Can Resolve Normally
Test Code Example
@ServerEndpoint(value = "/ws/chat/{userId}", decoders = MessageDecoder.class, encoders = MessageResponseEncoder.class) public class ChatEndpoint { }
Contact Details
No response
Version
3.0.7
Plugin
smart-doc-maven-plugin
Build tool version
3.8.6
Jdk version
17
Describe the bug (Bug描述,社区已开启国际化推广,请用文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
When using encoders to specify only one class, the write
encoders = MessageResponseEncoder.class
does not resolve the response parameters.Expected Behavior (您期望的结果,社区已开启国际化推广,请用文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
Can Resolve Normally
Current Behavior (当前结果,社区已开启国际化推广,请用文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
When using encoders to specify only one class, the write
encoders = MessageResponseEncoder.class
does not resolve the response parameters.Steps to Reproduce (Bug产生步骤,请尽量提供用例代码。社区已开启国际化推广,请用文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
Test Code Example
Possible Solution (Bug解决建议,社区已开启国际化推广,请用文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
No response
Context (Bug影响描述,社区已开启国际化推广,请用文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
No response
Validations