Fern generates WebSocket Reference documentation from an AsyncAPI specification.

Add your specification file to your /fern directory and create a generators.yml that references it:
For a full list of configuration options and layout customizations, see Customize API Reference layout.
To include multiple WebSocket definitions in your documentation, use the api-name property. The api-name corresponds to the folder name containing your WebSocket definition.