joffrey-bion / livedoc

A not-so-annotation-based documentation generator for REST and websocket services
MIT License
5 stars 2 forks source link

Add real support for websocket messages API #3

Closed joffrey-bion closed 6 years ago

joffrey-bion commented 7 years ago

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.