blob: 7d0d76fe03b97c1dd1311067288463fb265c3b44 [file] [log] [blame]
Eric Debeau1af30532019-05-14 17:45:22 +00001{
2 "swagger": "2.0",
3 "info": {
Pawel03712a42020-03-24 13:01:35 +01004 "version": "1.5.4",
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +01005 "title": "Api Documentation",
Eric Debeau1af30532019-05-14 17:45:22 +00006 "description": "Virtual Event Streaming (VES) Collector is RESTful collector for processing JSON messages. The collector verifies the source and validates the events against VES schema before distributing to DMAAP MR topics\n",
7 "termsOfService": "urn:tos",
8 "contact": {},
9 "license": {
10 "name": "Apache 2.0",
11 "url": "http://www.apache.org/licenses/LICENSE-2.0"
12 }
13 },
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +010014 "host": "localhost:8443",
Eric Debeau1af30532019-05-14 17:45:22 +000015 "basePath": "/",
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +010016 "tags": [{
17 "name": "basic-error-controller",
18 "description": "Basic Error Controller"
19 }, {
20 "name": "ves-rest-controller",
21 "description": "Ves Rest Controller"
22 }],
Eric Debeau1af30532019-05-14 17:45:22 +000023 "paths": {
24 "/": {
25 "get": {
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +010026 "tags": ["ves-rest-controller"],
Eric Debeau1af30532019-05-14 17:45:22 +000027 "summary": "mainPage",
28 "operationId": "mainPageUsingGET",
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +010029 "produces": ["*/*"],
Eric Debeau1af30532019-05-14 17:45:22 +000030 "responses": {
31 "200": {
32 "description": "OK",
33 "schema": {
34 "type": "string"
35 }
36 },
37 "401": {
38 "description": "Unauthorized"
39 },
40 "403": {
41 "description": "Forbidden"
42 },
43 "404": {
44 "description": "Not Found"
45 }
46 }
47 }
48 },
49 "/error": {
50 "get": {
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +010051 "tags": ["basic-error-controller"],
52 "summary": "error",
53 "operationId": "errorUsingGET",
54 "produces": ["*/*"],
Eric Debeau1af30532019-05-14 17:45:22 +000055 "responses": {
56 "200": {
57 "description": "OK",
58 "schema": {
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +010059 "type": "object",
60 "additionalProperties": {
61 "type": "object"
62 }
Eric Debeau1af30532019-05-14 17:45:22 +000063 }
64 },
65 "401": {
66 "description": "Unauthorized"
67 },
68 "403": {
69 "description": "Forbidden"
70 },
71 "404": {
72 "description": "Not Found"
73 }
74 }
75 },
76 "head": {
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +010077 "tags": ["basic-error-controller"],
78 "summary": "error",
79 "operationId": "errorUsingHEAD",
80 "consumes": ["application/json"],
81 "produces": ["*/*"],
Eric Debeau1af30532019-05-14 17:45:22 +000082 "responses": {
83 "200": {
84 "description": "OK",
85 "schema": {
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +010086 "type": "object",
87 "additionalProperties": {
88 "type": "object"
89 }
Eric Debeau1af30532019-05-14 17:45:22 +000090 }
91 },
92 "204": {
93 "description": "No Content"
94 },
95 "401": {
96 "description": "Unauthorized"
97 },
98 "403": {
99 "description": "Forbidden"
100 }
101 }
102 },
103 "post": {
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100104 "tags": ["basic-error-controller"],
105 "summary": "error",
106 "operationId": "errorUsingPOST",
107 "consumes": ["application/json"],
108 "produces": ["*/*"],
Eric Debeau1af30532019-05-14 17:45:22 +0000109 "responses": {
110 "200": {
111 "description": "OK",
112 "schema": {
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100113 "type": "object",
114 "additionalProperties": {
115 "type": "object"
116 }
Eric Debeau1af30532019-05-14 17:45:22 +0000117 }
118 },
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100119 "202": {
120 "description": "Accepted"
Eric Debeau1af30532019-05-14 17:45:22 +0000121 },
122 "401": {
123 "description": "Unauthorized"
124 },
125 "403": {
126 "description": "Forbidden"
127 },
128 "404": {
129 "description": "Not Found"
130 }
131 }
132 },
133 "put": {
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100134 "tags": ["basic-error-controller"],
135 "summary": "error",
136 "operationId": "errorUsingPUT",
137 "consumes": ["application/json"],
138 "produces": ["*/*"],
Eric Debeau1af30532019-05-14 17:45:22 +0000139 "responses": {
140 "200": {
141 "description": "OK",
142 "schema": {
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100143 "type": "object",
144 "additionalProperties": {
145 "type": "object"
146 }
Eric Debeau1af30532019-05-14 17:45:22 +0000147 }
148 },
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100149 "202": {
150 "description": "Accepted"
Eric Debeau1af30532019-05-14 17:45:22 +0000151 },
152 "401": {
153 "description": "Unauthorized"
154 },
155 "403": {
156 "description": "Forbidden"
157 },
158 "404": {
159 "description": "Not Found"
160 }
161 }
162 },
163 "delete": {
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100164 "tags": ["basic-error-controller"],
165 "summary": "error",
166 "operationId": "errorUsingDELETE",
167 "produces": ["*/*"],
Eric Debeau1af30532019-05-14 17:45:22 +0000168 "responses": {
169 "200": {
170 "description": "OK",
171 "schema": {
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100172 "type": "object",
173 "additionalProperties": {
174 "type": "object"
175 }
Eric Debeau1af30532019-05-14 17:45:22 +0000176 }
177 },
178 "204": {
179 "description": "No Content"
180 },
181 "401": {
182 "description": "Unauthorized"
183 },
184 "403": {
185 "description": "Forbidden"
186 }
187 }
188 },
189 "options": {
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100190 "tags": ["basic-error-controller"],
191 "summary": "error",
192 "operationId": "errorUsingOPTIONS",
193 "consumes": ["application/json"],
194 "produces": ["*/*"],
Eric Debeau1af30532019-05-14 17:45:22 +0000195 "responses": {
196 "200": {
197 "description": "OK",
198 "schema": {
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100199 "type": "object",
200 "additionalProperties": {
201 "type": "object"
202 }
Eric Debeau1af30532019-05-14 17:45:22 +0000203 }
204 },
205 "204": {
206 "description": "No Content"
207 },
208 "401": {
209 "description": "Unauthorized"
210 },
211 "403": {
212 "description": "Forbidden"
213 }
214 }
215 },
216 "patch": {
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100217 "tags": ["basic-error-controller"],
218 "summary": "error",
219 "operationId": "errorUsingPATCH",
220 "consumes": ["application/json"],
221 "produces": ["*/*"],
Eric Debeau1af30532019-05-14 17:45:22 +0000222 "responses": {
223 "200": {
224 "description": "OK",
225 "schema": {
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100226 "type": "object",
227 "additionalProperties": {
228 "type": "object"
229 }
Eric Debeau1af30532019-05-14 17:45:22 +0000230 }
231 },
232 "204": {
233 "description": "No Content"
234 },
235 "401": {
236 "description": "Unauthorized"
237 },
238 "403": {
239 "description": "Forbidden"
240 }
241 }
242 }
243 },
244 "/eventListener/v1": {
245 "post": {
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100246 "tags": ["ves-rest-controller"],
Eric Debeau1af30532019-05-14 17:45:22 +0000247 "summary": "receiveEvent",
248 "operationId": "receiveEventUsingPOST",
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100249 "consumes": ["application/json"],
250 "produces": ["*/*"],
251 "parameters": [{
252 "in": "body",
253 "name": "jsonPayload",
254 "description": "jsonPayload",
255 "required": true,
256 "schema": {
257 "type": "string"
Eric Debeau1af30532019-05-14 17:45:22 +0000258 }
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100259 }],
Eric Debeau1af30532019-05-14 17:45:22 +0000260 "responses": {
261 "200": {
262 "description": "OK",
263 "schema": {
264 "type": "string"
265 }
266 },
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100267 "202": {
268 "description": "Accepted"
Eric Debeau1af30532019-05-14 17:45:22 +0000269 },
270 "401": {
271 "description": "Unauthorized"
272 },
273 "403": {
274 "description": "Forbidden"
275 },
276 "404": {
277 "description": "Not Found"
278 }
279 }
280 }
281 },
282 "/eventListener/v1/eventBatch": {
283 "post": {
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100284 "tags": ["ves-rest-controller"],
Eric Debeau1af30532019-05-14 17:45:22 +0000285 "summary": "receiveEvent",
286 "operationId": "receiveEventUsingPOST_1",
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100287 "consumes": ["application/json"],
288 "produces": ["*/*"],
289 "parameters": [{
290 "in": "body",
291 "name": "jsonPayload",
292 "description": "jsonPayload",
293 "required": true,
294 "schema": {
295 "type": "string"
Eric Debeau1af30532019-05-14 17:45:22 +0000296 }
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100297 }],
Eric Debeau1af30532019-05-14 17:45:22 +0000298 "responses": {
299 "200": {
300 "description": "OK",
301 "schema": {
302 "type": "string"
303 }
304 },
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100305 "202": {
306 "description": "Accepted"
Eric Debeau1af30532019-05-14 17:45:22 +0000307 },
308 "401": {
309 "description": "Unauthorized"
310 },
311 "403": {
312 "description": "Forbidden"
313 },
314 "404": {
315 "description": "Not Found"
316 }
317 }
318 }
319 },
320 "/eventListener/v2": {
321 "post": {
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100322 "tags": ["ves-rest-controller"],
Eric Debeau1af30532019-05-14 17:45:22 +0000323 "summary": "receiveEvent",
324 "operationId": "receiveEventUsingPOST_2",
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100325 "consumes": ["application/json"],
326 "produces": ["*/*"],
327 "parameters": [{
328 "in": "body",
329 "name": "jsonPayload",
330 "description": "jsonPayload",
331 "required": true,
332 "schema": {
333 "type": "string"
Eric Debeau1af30532019-05-14 17:45:22 +0000334 }
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100335 }],
Eric Debeau1af30532019-05-14 17:45:22 +0000336 "responses": {
337 "200": {
338 "description": "OK",
339 "schema": {
340 "type": "string"
341 }
342 },
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100343 "202": {
344 "description": "Accepted"
Eric Debeau1af30532019-05-14 17:45:22 +0000345 },
346 "401": {
347 "description": "Unauthorized"
348 },
349 "403": {
350 "description": "Forbidden"
351 },
352 "404": {
353 "description": "Not Found"
354 }
355 }
356 }
357 },
358 "/eventListener/v2/eventBatch": {
359 "post": {
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100360 "tags": ["ves-rest-controller"],
Eric Debeau1af30532019-05-14 17:45:22 +0000361 "summary": "receiveEvent",
362 "operationId": "receiveEventUsingPOST_3",
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100363 "consumes": ["application/json"],
364 "produces": ["*/*"],
365 "parameters": [{
366 "in": "body",
367 "name": "jsonPayload",
368 "description": "jsonPayload",
369 "required": true,
370 "schema": {
371 "type": "string"
Eric Debeau1af30532019-05-14 17:45:22 +0000372 }
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100373 }],
Eric Debeau1af30532019-05-14 17:45:22 +0000374 "responses": {
375 "200": {
376 "description": "OK",
377 "schema": {
378 "type": "string"
379 }
380 },
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100381 "202": {
382 "description": "Accepted"
Eric Debeau1af30532019-05-14 17:45:22 +0000383 },
384 "401": {
385 "description": "Unauthorized"
386 },
387 "403": {
388 "description": "Forbidden"
389 },
390 "404": {
391 "description": "Not Found"
392 }
393 }
394 }
395 },
396 "/eventListener/v3": {
397 "post": {
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100398 "tags": ["ves-rest-controller"],
Eric Debeau1af30532019-05-14 17:45:22 +0000399 "summary": "receiveEvent",
400 "operationId": "receiveEventUsingPOST_4",
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100401 "consumes": ["application/json"],
402 "produces": ["*/*"],
403 "parameters": [{
404 "in": "body",
405 "name": "jsonPayload",
406 "description": "jsonPayload",
407 "required": true,
408 "schema": {
409 "type": "string"
Eric Debeau1af30532019-05-14 17:45:22 +0000410 }
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100411 }],
Eric Debeau1af30532019-05-14 17:45:22 +0000412 "responses": {
413 "200": {
414 "description": "OK",
415 "schema": {
416 "type": "string"
417 }
418 },
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100419 "202": {
420 "description": "Accepted"
Eric Debeau1af30532019-05-14 17:45:22 +0000421 },
422 "401": {
423 "description": "Unauthorized"
424 },
425 "403": {
426 "description": "Forbidden"
427 },
428 "404": {
429 "description": "Not Found"
430 }
431 }
432 }
433 },
434 "/eventListener/v3/eventBatch": {
435 "post": {
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100436 "tags": ["ves-rest-controller"],
Eric Debeau1af30532019-05-14 17:45:22 +0000437 "summary": "receiveEvent",
438 "operationId": "receiveEventUsingPOST_5",
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100439 "consumes": ["application/json"],
440 "produces": ["*/*"],
441 "parameters": [{
442 "in": "body",
443 "name": "jsonPayload",
444 "description": "jsonPayload",
445 "required": true,
446 "schema": {
447 "type": "string"
Eric Debeau1af30532019-05-14 17:45:22 +0000448 }
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100449 }],
Eric Debeau1af30532019-05-14 17:45:22 +0000450 "responses": {
451 "200": {
452 "description": "OK",
453 "schema": {
454 "type": "string"
455 }
456 },
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100457 "202": {
458 "description": "Accepted"
Eric Debeau1af30532019-05-14 17:45:22 +0000459 },
460 "401": {
461 "description": "Unauthorized"
462 },
463 "403": {
464 "description": "Forbidden"
465 },
466 "404": {
467 "description": "Not Found"
468 }
469 }
470 }
471 },
472 "/eventListener/v4": {
473 "post": {
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100474 "tags": ["ves-rest-controller"],
Eric Debeau1af30532019-05-14 17:45:22 +0000475 "summary": "receiveEvent",
476 "operationId": "receiveEventUsingPOST_6",
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100477 "consumes": ["application/json"],
478 "produces": ["*/*"],
479 "parameters": [{
480 "in": "body",
481 "name": "jsonPayload",
482 "description": "jsonPayload",
483 "required": true,
484 "schema": {
485 "type": "string"
Eric Debeau1af30532019-05-14 17:45:22 +0000486 }
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100487 }],
Eric Debeau1af30532019-05-14 17:45:22 +0000488 "responses": {
489 "200": {
490 "description": "OK",
491 "schema": {
492 "type": "string"
493 }
494 },
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100495 "202": {
496 "description": "Accepted"
Eric Debeau1af30532019-05-14 17:45:22 +0000497 },
498 "401": {
499 "description": "Unauthorized"
500 },
501 "403": {
502 "description": "Forbidden"
503 },
504 "404": {
505 "description": "Not Found"
506 }
507 }
508 }
509 },
510 "/eventListener/v4/eventBatch": {
511 "post": {
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100512 "tags": ["ves-rest-controller"],
Eric Debeau1af30532019-05-14 17:45:22 +0000513 "summary": "receiveEvent",
514 "operationId": "receiveEventUsingPOST_7",
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100515 "consumes": ["application/json"],
516 "produces": ["*/*"],
517 "parameters": [{
518 "in": "body",
519 "name": "jsonPayload",
520 "description": "jsonPayload",
521 "required": true,
522 "schema": {
523 "type": "string"
Eric Debeau1af30532019-05-14 17:45:22 +0000524 }
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100525 }],
Eric Debeau1af30532019-05-14 17:45:22 +0000526 "responses": {
527 "200": {
528 "description": "OK",
529 "schema": {
530 "type": "string"
531 }
532 },
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100533 "202": {
534 "description": "Accepted"
Eric Debeau1af30532019-05-14 17:45:22 +0000535 },
536 "401": {
537 "description": "Unauthorized"
538 },
539 "403": {
540 "description": "Forbidden"
541 },
542 "404": {
543 "description": "Not Found"
544 }
545 }
546 }
547 },
548 "/eventListener/v5": {
549 "post": {
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100550 "tags": ["ves-rest-controller"],
Eric Debeau1af30532019-05-14 17:45:22 +0000551 "summary": "receiveEvent",
552 "operationId": "receiveEventUsingPOST_8",
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100553 "consumes": ["application/json"],
554 "produces": ["*/*"],
555 "parameters": [{
556 "in": "body",
557 "name": "jsonPayload",
558 "description": "jsonPayload",
559 "required": true,
560 "schema": {
561 "type": "string"
Eric Debeau1af30532019-05-14 17:45:22 +0000562 }
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100563 }],
Eric Debeau1af30532019-05-14 17:45:22 +0000564 "responses": {
565 "200": {
566 "description": "OK",
567 "schema": {
568 "type": "string"
569 }
570 },
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100571 "202": {
572 "description": "Accepted"
Eric Debeau1af30532019-05-14 17:45:22 +0000573 },
574 "401": {
575 "description": "Unauthorized"
576 },
577 "403": {
578 "description": "Forbidden"
579 },
580 "404": {
581 "description": "Not Found"
582 }
583 }
584 }
585 },
586 "/eventListener/v5/eventBatch": {
587 "post": {
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100588 "tags": ["ves-rest-controller"],
Eric Debeau1af30532019-05-14 17:45:22 +0000589 "summary": "receiveEvent",
590 "operationId": "receiveEventUsingPOST_9",
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100591 "consumes": ["application/json"],
592 "produces": ["*/*"],
593 "parameters": [{
594 "in": "body",
595 "name": "jsonPayload",
596 "description": "jsonPayload",
597 "required": true,
598 "schema": {
599 "type": "string"
Eric Debeau1af30532019-05-14 17:45:22 +0000600 }
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100601 }],
Eric Debeau1af30532019-05-14 17:45:22 +0000602 "responses": {
603 "200": {
604 "description": "OK",
605 "schema": {
606 "type": "string"
607 }
608 },
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100609 "202": {
610 "description": "Accepted"
Eric Debeau1af30532019-05-14 17:45:22 +0000611 },
612 "401": {
613 "description": "Unauthorized"
614 },
615 "403": {
616 "description": "Forbidden"
617 },
618 "404": {
619 "description": "Not Found"
620 }
621 }
622 }
623 },
624 "/eventListener/v7": {
625 "post": {
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100626 "tags": ["ves-rest-controller"],
Eric Debeau1af30532019-05-14 17:45:22 +0000627 "summary": "receiveEvent",
628 "operationId": "receiveEventUsingPOST_10",
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100629 "consumes": ["application/json"],
630 "produces": ["*/*"],
631 "parameters": [{
632 "in": "body",
633 "name": "jsonPayload",
634 "description": "jsonPayload",
635 "required": true,
636 "schema": {
637 "type": "string"
Eric Debeau1af30532019-05-14 17:45:22 +0000638 }
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100639 }],
Eric Debeau1af30532019-05-14 17:45:22 +0000640 "responses": {
641 "200": {
642 "description": "OK",
643 "schema": {
644 "type": "string"
645 }
646 },
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100647 "202": {
648 "description": "Accepted"
649 },
650 "400": {
651 "description": "Bad Request"
Eric Debeau1af30532019-05-14 17:45:22 +0000652 },
653 "401": {
654 "description": "Unauthorized"
655 },
656 "403": {
657 "description": "Forbidden"
658 },
659 "404": {
660 "description": "Not Found"
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100661 },
662 "500": {
663 "description": "Internal Server Error"
Eric Debeau1af30532019-05-14 17:45:22 +0000664 }
665 }
666 }
667 },
668 "/eventListener/v7/eventBatch": {
669 "post": {
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100670 "tags": ["ves-rest-controller"],
Eric Debeau1af30532019-05-14 17:45:22 +0000671 "summary": "receiveEvent",
672 "operationId": "receiveEventUsingPOST_11",
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100673 "consumes": ["application/json"],
674 "produces": ["*/*"],
675 "parameters": [{
676 "in": "body",
677 "name": "jsonPayload",
678 "description": "jsonPayload",
679 "required": true,
680 "schema": {
681 "type": "string"
Eric Debeau1af30532019-05-14 17:45:22 +0000682 }
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100683 }],
Eric Debeau1af30532019-05-14 17:45:22 +0000684 "responses": {
685 "200": {
686 "description": "OK",
687 "schema": {
688 "type": "string"
689 }
690 },
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100691 "202": {
692 "description": "Accepted"
693 },
694 "400": {
695 "description": "Bad Request"
Eric Debeau1af30532019-05-14 17:45:22 +0000696 },
697 "401": {
698 "description": "Unauthorized"
699 },
700 "403": {
701 "description": "Forbidden"
702 },
703 "404": {
704 "description": "Not Found"
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100705 },
706 "500": {
707 "description": "Internal Server Error"
Eric Debeau1af30532019-05-14 17:45:22 +0000708 }
709 }
710 }
711 }
712 },
713 "definitions": {
714 "ModelAndView": {
715 "type": "object",
716 "properties": {
717 "empty": {
718 "type": "boolean"
719 },
720 "model": {
721 "type": "object"
722 },
723 "modelMap": {
724 "type": "object",
725 "additionalProperties": {
726 "type": "object"
727 }
728 },
729 "reference": {
730 "type": "boolean"
731 },
732 "status": {
733 "type": "string",
Bartosz Gardziejewski99e9e482020-03-23 12:46:42 +0100734 "enum": ["100", "101", "102", "103", "200", "201", "202", "203", "204", "205", "206", "207", "208", "226", "300", "301", "302", "303", "304", "305", "307", "308", "400", "401", "402", "403", "404", "405", "406", "407", "408", "409", "410", "411", "412", "413", "414", "415", "416", "417", "418", "419", "420", "421", "422", "423", "424", "426", "428", "429", "431", "451", "500", "501", "502", "503", "504", "505", "506", "507", "508", "509", "510", "511"]
Eric Debeau1af30532019-05-14 17:45:22 +0000735 },
736 "view": {
737 "$ref": "#/definitions/View"
738 },
739 "viewName": {
740 "type": "string"
741 }
742 },
743 "title": "ModelAndView"
744 },
745 "View": {
746 "type": "object",
747 "properties": {
748 "contentType": {
749 "type": "string"
750 }
751 },
752 "title": "View"
753 }
754 }
755}