-
Notifications
You must be signed in to change notification settings - Fork 0
/
email-service.yaml
52 lines (52 loc) · 1.2 KB
/
email-service.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
asyncapi: '2.6.0'
info:
title: Email Service
version: '1.0.0'
description: Subscribed to receive the UserSignedUp event to send the new user a welcome email.
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:
publish:
description: Subscribed to receive the UserSignedUp event
operationId: onUserSignUp
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:
createdAt:
type: string
examples:
- 2024-01-01T15:00:00Z