Generate WebSocket Reference
Pro and Enterprise feature
This feature is available only for the Pro and Enterprise plans. To get started, reach out to support@buildwithfern.com.
Fern generates WebSocket API Reference documentation from an AsyncAPI specification or Fern Definition.

Configuration
-
For both Fern Definition and AsyncAPI, add your WebSocket specification file to your
/ferndirectory. -
For AsyncAPI only, reference the file in
generators.yml:generators.ymlFern Definition WebSocket files are auto-discovered (no additional configuration required).
Customize layout
You can customize the WebSocket endpoint display with title and slug properties, similar to REST endpoints. For more details, see Customize API Reference layout.
docs.yml