Skip to content
This repository was archived by the owner on Jun 18, 2023. It is now read-only.

Commit 125a9f2

Browse files
committed
Run npm run update-mocks
1 parent 1a8654a commit 125a9f2

File tree

2 files changed

+134
-46
lines changed

2 files changed

+134
-46
lines changed

src/app/shared/mock/mock.springwolf-amqp-example.json

Lines changed: 36 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
"asyncapi": "2.0.0",
33
"info": {
44
"title": "Springwolf example project - AMQP",
5+
"contact": {
6+
"name": "springwolf",
7+
"url": "https://github.com/springwolf/springwolf-core",
8+
"email": "example@example.com"
9+
},
10+
"description": "Springwolf example project to demonstrate springwolfs abilities",
11+
"license": {
12+
"name": "Apache License 2.0"
13+
},
514
"version": "1.0.0"
615
},
716
"servers": {
@@ -35,14 +44,16 @@
3544
"ack": false
3645
}
3746
},
47+
"description": "Auto-generated description",
48+
"operationId": "example-bindings-queue_publish_bindingsExample",
3849
"message": {
3950
"name": "io.github.stavshamir.springwolf.example.dtos.AnotherPayloadDto",
4051
"title": "AnotherPayloadDto",
4152
"payload": {
4253
"$ref": "#/components/schemas/AnotherPayloadDto"
4354
},
4455
"headers": {
45-
"$ref": "#/components/schemas/NoHeaders"
56+
"$ref": "#/components/schemas/HeadersNotDocumented"
4657
}
4758
}
4859
}
@@ -71,14 +82,16 @@
7182
"ack": false
7283
}
7384
},
85+
"description": "Auto-generated description",
86+
"operationId": "example-topic-queue_publish_bindingsBeanExample",
7487
"message": {
7588
"name": "io.github.stavshamir.springwolf.example.dtos.AnotherPayloadDto",
7689
"title": "AnotherPayloadDto",
7790
"payload": {
7891
"$ref": "#/components/schemas/AnotherPayloadDto"
7992
},
8093
"headers": {
81-
"$ref": "#/components/schemas/NoHeaders"
94+
"$ref": "#/components/schemas/HeadersNotDocumented"
8295
}
8396
}
8497
}
@@ -107,14 +120,16 @@
107120
"ack": false
108121
}
109122
},
123+
"description": "Auto-generated description",
124+
"operationId": "another-queue_publish_receiveAnotherPayload",
110125
"message": {
111126
"name": "io.github.stavshamir.springwolf.example.dtos.AnotherPayloadDto",
112127
"title": "AnotherPayloadDto",
113128
"payload": {
114129
"$ref": "#/components/schemas/AnotherPayloadDto"
115130
},
116131
"headers": {
117-
"$ref": "#/components/schemas/NoHeaders"
132+
"$ref": "#/components/schemas/HeadersNotDocumented"
118133
}
119134
}
120135
}
@@ -134,6 +149,8 @@
134149
"ack": false
135150
}
136151
},
152+
"description": "Auto-generated description",
153+
"operationId": "example-manual-consumer-channel_publish",
137154
"message": {
138155
"name": "io.github.stavshamir.springwolf.example.dtos.AnotherPayloadDto",
139156
"title": "AnotherPayloadDto",
@@ -142,7 +159,7 @@
142159
"$ref": "#/components/schemas/AnotherPayloadDto"
143160
},
144161
"headers": {
145-
"$ref": "#/components/schemas/NoHeaders"
162+
"$ref": "#/components/schemas/HeadersNotDocumented"
146163
}
147164
}
148165
},
@@ -180,14 +197,16 @@
180197
"ack": false
181198
}
182199
},
200+
"description": "Auto-generated description",
201+
"operationId": "example-queue_publish_receiveExamplePayload",
183202
"message": {
184203
"name": "io.github.stavshamir.springwolf.example.dtos.ExamplePayloadDto",
185204
"title": "ExamplePayloadDto",
186205
"payload": {
187206
"$ref": "#/components/schemas/ExamplePayloadDto"
188207
},
189208
"headers": {
190-
"$ref": "#/components/schemas/NoHeaders"
209+
"$ref": "#/components/schemas/HeadersNotDocumented"
191210
}
192211
}
193212
}
@@ -216,6 +235,8 @@
216235
"ack": false
217236
}
218237
},
238+
"description": "Auto-generated description",
239+
"operationId": "example-producer-channel_subscribe",
219240
"message": {
220241
"name": "io.github.stavshamir.springwolf.example.dtos.AnotherPayloadDto",
221242
"title": "AnotherPayloadDto",
@@ -224,14 +245,20 @@
224245
"$ref": "#/components/schemas/AnotherPayloadDto"
225246
},
226247
"headers": {
227-
"$ref": "#/components/schemas/NoHeaders"
248+
"$ref": "#/components/schemas/HeadersNotDocumented"
228249
}
229250
}
230251
}
231252
}
232253
},
233254
"components": {
234255
"schemas": {
256+
"HeadersNotDocumented": {
257+
"type": "object",
258+
"properties": {},
259+
"example": {},
260+
"exampleSetFlag": true
261+
},
235262
"AnotherPayloadDto": {
236263
"required": [
237264
"example"
@@ -299,11 +326,8 @@
299326
"someEnum": "FOO2"
300327
},
301328
"exampleSetFlag": true
302-
},
303-
"NoHeaders": {
304-
"type": "object",
305-
"exampleSetFlag": true
306329
}
307330
}
308-
}
309-
}
331+
},
332+
"tags": []
333+
}

0 commit comments

Comments
 (0)