zilla icon indicating copy to clipboard operation
zilla copied to clipboard

Support inline definition of schemas in asyncapi generation.

Open akrambek opened this issue 8 months ago • 0 comments

Currently, we only support by $ref

    StreampayUsersMessage:
      contentType: application/avro
      payload:
        schemaFormat: application/vnd.apache.avro;version=1.9.0
        $ref: '#/components/schemas/StreampayUser'

We should support

  myMessage:
        payload:
          schemaFormat: 'application/vnd.apache.avro;version=1.9.0'
          schema:
            type: record
            name: User
            namespace: com.company
            doc: User information
            fields:
              - name: displayName
                type: string
              - name: age
                type: int

akrambek avatar Jun 25 '24 16:06 akrambek