Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: schema V3 #11

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from
Draft

feat: schema V3 #11

wants to merge 9 commits into from

Conversation

Ferror
Copy link
Owner

@Ferror Ferror commented Jan 25, 2024

WORK IN PROGRESS

Testing Schema

asyncapi: 3.0.0
info:
  title: Account Service
  version: 1.0.0
  description: This service is in charge of processing user signups

channels:
  userSignedUpChannel:
    messages:
      UserSignedUp:
        $ref: '#/components/messages/UserSignedUp'

operations:
  sendUserSignedUpOperation:
    action: send
    channel:
      $ref: '#/channels/userSignedUpChannel'

  receiveUserSignedUpOperation:
    action: receive
    channel:
      $ref: '#/channels/userSignedUpChannel'

components:
  messages:
    UserSignedUp:
      payload:
        type: object
        properties:
          displayName:
            type: string
            description: Name of the user
          email:
            type: string
            format: email
            description: Email of the user

@Ferror Ferror linked an issue Jan 25, 2024 that may be closed by this pull request
@Ferror Ferror force-pushed the schema-v3 branch 2 times, most recently from 88f3529 to 260be87 Compare February 3, 2024 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade to Async API 3.0?
1 participant