File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed
Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,9 @@ components:
6464 contentType : application/json
6565 payload :
6666 $ref : ' ./events/letter.cancelled.schema.json'
67+ examples :
68+ - payload :
69+ $ref : ' ./examples/letter.cancelled.json'
6770
6871 letter-delivered :
6972 name : letter-delivered
@@ -86,6 +89,9 @@ components:
8689 contentType : application/json
8790 payload :
8891 $ref : ' ./events/letter.dispatched.schema.json'
92+ examples :
93+ - payload :
94+ $ref : ' ./examples/letter.dispatched.json'
8995
9096 letter-enclosed :
9197 name : letter-enclosed
@@ -108,6 +114,9 @@ components:
108114 contentType : application/json
109115 payload :
110116 $ref : ' ./events/letter.failed.schema.json'
117+ examples :
118+ - payload :
119+ $ref : ' ./examples/letter.failed.json'
111120
112121 letter-forwarded :
113122 name : letter-forwarded
@@ -155,6 +164,9 @@ components:
155164 contentType : application/json
156165 payload :
157166 $ref : ' ./events/letter.rejected.schema.json'
167+ examples :
168+ - payload :
169+ $ref : ' ./examples/letter.rejected.json'
158170
159171 letter-returned :
160172 name : letter-returned
Original file line number Diff line number Diff line change @@ -4,3 +4,4 @@ export { default as DomainBase } from "./domain/domain-base";
44export * from "./events/event-envelope" ;
55export * from "./events/letter-events" ;
66export * from "./events/mi-events" ;
7+ export * from "./version" ;
Original file line number Diff line number Diff line change 1+ import { version } from "../package.json" ;
2+
3+ export { version as VERSION } from "../package.json" ;
4+
5+ export const [ MAJOR_VERSION ] = version . split ( "." ) ;
You can’t perform that action at this time.
0 commit comments