|
11 | 11 | "summary": "Send message to all subscriber of topicName", |
12 | 12 | "description": "Send message to all subscriber of topicName", |
13 | 13 | "operationId": "API_V1_BROADCAST_SERVICE", |
14 | | - "parameters": [{ |
15 | | - "name": "topicName", |
16 | | - "in": "path", |
17 | | - "required": true, |
18 | | - "schema": { |
19 | | - "type": "string" |
| 14 | + "parameters": [ |
| 15 | + { |
| 16 | + "name": "topicName", |
| 17 | + "in": "path", |
| 18 | + "required": true, |
| 19 | + "schema": { |
| 20 | + "type": "string" |
| 21 | + } |
20 | 22 | } |
21 | | - }], |
| 23 | + ], |
| 24 | + "requestBody": { |
| 25 | + "content": { |
| 26 | + "application/json": { |
| 27 | + "schema": { |
| 28 | + "$ref": "#/components/schemas/broadcastMessage" |
| 29 | + } |
| 30 | + } |
| 31 | + }, |
| 32 | + "required": true |
| 33 | + }, |
22 | 34 | "responses": { |
23 | 35 | "200": { |
24 | 36 | "description": "Success Response", |
|
30 | 42 | } |
31 | 43 | } |
32 | 44 | } |
33 | | - }, |
34 | | - "requestBody": { |
35 | | - "content": { |
36 | | - "application/json": { |
37 | | - "schema": { |
38 | | - "$ref": "#/components/schemas/broadcastMessage" |
39 | | - } |
40 | | - } |
41 | | - }, |
42 | | - "required": true |
43 | 45 | } |
44 | 46 | }, |
45 | | - "parameters": [{ |
46 | | - "name": "topicName", |
47 | | - "in": "path", |
48 | | - "description": "Name of topic on which to broadcast message", |
49 | | - "required": true, |
50 | | - "schema": { |
51 | | - "type": "string" |
| 47 | + "parameters": [ |
| 48 | + { |
| 49 | + "name": "topicName", |
| 50 | + "in": "path", |
| 51 | + "description": "Name of topic on which to broadcast message", |
| 52 | + "required": true, |
| 53 | + "schema": { |
| 54 | + "type": "string" |
| 55 | + } |
52 | 56 | } |
53 | | - }] |
| 57 | + ] |
54 | 58 | }, |
55 | 59 | "/broadcastv2/{topicName}": { |
56 | 60 | "post": { |
57 | 61 | "summary": "Send message to all subscriber of topicName", |
58 | 62 | "description": "Send message to all subscriber of topicName", |
59 | 63 | "operationId": "API_V1_BROADCAST_V2_SERVICE", |
60 | | - "parameters": [{ |
61 | | - "name": "topicName", |
62 | | - "in": "path", |
63 | | - "required": true, |
64 | | - "schema": { |
65 | | - "type": "string" |
| 64 | + "parameters": [ |
| 65 | + { |
| 66 | + "name": "topicName", |
| 67 | + "in": "path", |
| 68 | + "required": true, |
| 69 | + "schema": { |
| 70 | + "type": "string" |
| 71 | + } |
66 | 72 | } |
67 | | - }], |
| 73 | + ], |
| 74 | + "requestBody": { |
| 75 | + "content": { |
| 76 | + "application/json": { |
| 77 | + "schema": { |
| 78 | + "$ref": "#/components/schemas/broadcastMessage" |
| 79 | + } |
| 80 | + } |
| 81 | + }, |
| 82 | + "required": true |
| 83 | + }, |
68 | 84 | "responses": { |
69 | 85 | "200": { |
70 | 86 | "description": "Success Response", |
|
76 | 92 | } |
77 | 93 | } |
78 | 94 | } |
79 | | - }, |
80 | | - "requestBody": { |
81 | | - "content": { |
82 | | - "application/json": { |
83 | | - "schema": { |
84 | | - "$ref": "#/components/schemas/broadcastMessage" |
85 | | - } |
86 | | - } |
87 | | - }, |
88 | | - "required": true |
89 | 95 | } |
90 | 96 | }, |
91 | | - "parameters": [{ |
92 | | - "name": "topicName", |
93 | | - "in": "path", |
94 | | - "description": "Name of topic on which to broadcast message", |
95 | | - "required": true, |
96 | | - "schema": { |
97 | | - "type": "string" |
| 97 | + "parameters": [ |
| 98 | + { |
| 99 | + "name": "topicName", |
| 100 | + "in": "path", |
| 101 | + "description": "Name of topic on which to broadcast message", |
| 102 | + "required": true, |
| 103 | + "schema": { |
| 104 | + "type": "string" |
| 105 | + } |
| 106 | + } |
| 107 | + ] |
| 108 | + }, |
| 109 | + "/processcheck": { |
| 110 | + "get": { |
| 111 | + "summary": "Check Processor", |
| 112 | + "operationId": "API_V1_PROCESSOR_CHECK", |
| 113 | + "responses": { |
| 114 | + "200": { |
| 115 | + "description": "Success" |
| 116 | + } |
98 | 117 | } |
99 | | - }] |
| 118 | + } |
100 | 119 | } |
101 | 120 | }, |
102 | 121 | "components": { |
|
0 commit comments