We use Swagger UI to display documentation for both our REST API and for our web socket.
The rendering is not exactly the same. For web sockets...
- ... there is no CURL section.
- ... operations should all be expanded by default.
The page's title should be updated too.