CLIKontractGenerators
← Generators

Models · AsyncAPI

Message models from async schemas.

The AsyncAPI counterpart to typescript-models. Takes no options.

What it emits

Message modelsPayload schemas

Options

This generator adds no options of its own.

Example

sumr.yamlyaml
targets:
  - name: api-models
    output: ./apps/api/src/contracts
    generator:
      type: asyncapi-models

On this page