Created
November 7, 2024 19:34
-
-
Save alexandramartinez/66e29c3d985b14ce9b54fe114f1134fc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
asyncapi: '2.6.0' | |
info: | |
title: Account Service | |
version: '1.0.0' | |
description: Publishes the UserSignedUp event when a new user account is created. | |
contact: | |
name: Alex Martinez | |
email: [email protected] | |
url: alexmartinez.ca | |
license: | |
name: test | |
url: test | |
defaultContentType: application/json | |
tags: | |
- name: solace | |
description: makes use of Solace PubSub+ | |
servers: | |
Solace: | |
protocol: solace | |
bindings: | |
solace: | |
msgVpn: default | |
url: localhost:55554 | |
channels: | |
user-signup: | |
subscribe: | |
description: Publishes the UserSignedUp event | |
operationId: emitUserSignUpEvent | |
message: | |
$ref: "#/components/messages/UserSignedUp" | |
components: | |
messages: | |
UserSignedUp: | |
payload: | |
type: object | |
properties: | |
firstName: | |
type: string | |
examples: | |
- Alex | |
lastName: | |
type: string | |
examples: | |
- Martinez | |
email: | |
type: string | |
examples: | |
- [email protected] | |
createdAt: | |
type: string | |
examples: | |
- 2024-01-01T15:00:00Z |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment