REST and other synchronous API are well defined via OpenAPI specification, and docs&code can be generated with Swagger or other platforms. It is not suited to describe Websockets.
This question has already been asked 6 years ago on stack, and i would like to know the current status of your websocket API and their documentation.
AsyncAPI has been designed to define asynchronous API, but it does not seems well suited to websocket, it seems more oriented to publish/subscribe protocols like MQTT.
For reference, trading platforms defines public websocket API :
Disclaimer, I'm one of the AsyncAPI maintainers
Actually for both APIs that you mentioned I created experimental AsyncAPI documents:
Many folks use AsyncAPI for WebSocket. In short:
Feel free to join https://asyncapi.com/slack-invite and ping me there in "specification" channel. I would love to help.