Skip to content

Empty AsyncAPI with message components get wrong payloads  #134

@jonaslagoni

Description

@jonaslagoni

Messages not getting correct names, below gets AnonymousSchema_1;

asyncapi: 3.0.0
info:
  title: Account Service
  version: 1.0.0
  description: This service is in charge of processing user signups
components:
  messages:
    SimpleObject:
      payload:
        type: object
        properties:
          type:
            const: 'SimpleObject' 
          displayName:
            type: string
            description: Name of the user
          email:
            type: string
            format: email
            description: Email of the user
    Boolean:
      payload: 
        type: 'boolean'
    String:
      payload: 
        type: 'string'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions