What is an AsyncAPI specification?
Fern supports AsyncAPI SDK generation for TypeScript, Python, Java, and C#. File an issue to request additional languages.
The AsyncAPI Specification is a framework used by developers to document event-driven APIs. The specification is written in JSON or YAML and contains all of your channels, messages, schemas, and authentication schemes. Fern is compatible with AsyncAPI specification v2.6.0 and v3.0.0.
Below is an example of an AsyncAPI file:
asyncapi.yml
Set up your fern folder
Considering options to generate an AsyncAPI spec? Get live support here
Add your AsyncAPI specification
Add your AsyncAPI spec to the fern directory. You can place it in a subfolder called asyncapi or directly in the fern directory.
fern
asyncapi
asyncapi.yml