AsyncAPI Conf on Tour 2023

Madrid Edition

October, 2023 | Madrid, Spain

5 days until the end for Call for Speakers.

Usage

Found an error? Have a suggestion?Edit this page on GitHub

The AsyncAPI CLI makes it easier to work with AsyncAPI documents.

To get help, run this command in your terminal:

asyncapi --help

It should print something similar to this:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
All in one CLI for all AsyncAPI tools

USAGE
  $ asyncapi [COMMAND]

TOPICS
  config    CLI config settings
  generate  Generate models and template
  start     Start AsyncAPI studio

COMMANDS
  config    access configs
  diff      find diff between two AsyncAPI files
  optimize  optimizes your AsyncAPI file by removing unused components, re-using duplicates etc.
  new       creates a new AsyncAPI file
  start     starts a new local instance of Studio
  validate  validate an AsyncAPI file
  generate    generate all kinds of stuff
    models       generate all the typed models for the message payloads defined in the AsyncAPI file
      typescript    generate the models for TypeScript
      csharp        generate the models for C#
      golang        generate the models for Go
      java          generate the models for Java
      javascript    generate the models for JavaScript
      dart          generate the models for Dart
      rust          generate the models for Rust
      kotlin        generate the models for Kotlin
      php           generate the models for PHP
      cplusplus     generate the models for C++
    fromTemplate    generate whatever you want using templates compatible with AsyncAPI Generator
Was this helpful?
Help us improve the docs by adding your contribution.
OR
Github:AsyncAPICreate Issue on GitHub