Skip to content

Missing generated example payload with AsyncAPI #1535

Closed Answered by VietThan
VietThan asked this question in Q&A
Discussion options

You must be logged in to vote

Figured it out, there was an extra schema:

bad:

components:
  messages:
    BeginAction:
      name: BeginAction
      title: Begin Action Message
      summary: >-
        Message informing the server that a new transaction begins
      contentType: application/json
      payload:
        schema:
          $ref: '#/components/schemas/BeginSchema'

good:

components:
  messages:
    BeginAction:
      name: BeginAction
      title: Begin Action Message
      summary: >-
        Message informing the server that a new transaction begins
      contentType: application/json
      payload:
        $ref: '#/components/schemas/BeginSchema'

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by derberg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant