The @MessageMapping and @SubscribeMapping annotations should not be used to filled the same kind of doc object as the request mappings. They should be displayed differently in the UI so that the user understands that it is websocket API, and not HTTP requests.
Also, the playground should be disabled for such endpoints, or upgraded to deal with websockets.
The
@MessageMapping
and@SubscribeMapping
annotations should not be used to filled the same kind of doc object as the request mappings. They should be displayed differently in the UI so that the user understands that it is websocket API, and not HTTP requests.Also, the playground should be disabled for such endpoints, or upgraded to deal with websockets.