blob: c72f47a42830aaa0a4d7c34bbb1365bd4e9fc031 [file] [log] [blame]
mpriyank6da95412023-06-29 16:56:11 +01001openapi: 3.0.3
niamhcorec1904c12021-10-11 16:38:53 +01002info:
niamhcorec1904c12021-10-11 16:38:53 +01003 description: NCMP Inventory API
mpriyank6da95412023-06-29 16:56:11 +01004 title: NCMP Inventory API
danielhanrahan55740432024-10-17 14:55:49 +01005 version: 3.5.4
niamhcorec1904c12021-10-11 16:38:53 +01006servers:
mpriyank41c7d002023-08-22 13:17:46 +01007- url: /ncmpInventory
seanbeirne16e23582023-01-26 09:21:44 +00008security:
mpriyank41c7d002023-08-22 13:17:46 +01009- basicAuth: []
niamhcorec1904c12021-10-11 16:38:53 +010010paths:
11 /v1/ch:
12 post:
niamhcorec1904c12021-10-11 16:38:53 +010013 description: "Register a DMI Plugin with any new, updated or removed CM Handles."
14 operationId: updateDmiPluginRegistration
15 requestBody:
16 content:
17 application/json:
18 schema:
19 $ref: '#/components/schemas/RestDmiPluginRegistration'
20 required: true
21 responses:
emacleeafb17362022-09-02 14:40:17 +010022 "200":
niamhcorec1904c12021-10-11 16:38:53 +010023 content: {}
mpriyank6da95412023-06-29 16:56:11 +010024 description: No Content
niamhcorec1904c12021-10-11 16:38:53 +010025 "400":
niamhcorec1904c12021-10-11 16:38:53 +010026 content:
27 application/json:
DylanB95EST63132ce2021-12-14 16:34:38 +000028 example:
danielhanrahanad46c252024-05-01 11:25:36 +010029 status: 400
DylanB95EST63132ce2021-12-14 16:34:38 +000030 message: Bad request error message
31 details: Bad request error details
niamhcorec1904c12021-10-11 16:38:53 +010032 schema:
33 $ref: '#/components/schemas/ErrorMessage'
mpriyank6da95412023-06-29 16:56:11 +010034 description: Bad Request
mpriyank6da95412023-06-29 16:56:11 +010035 "403":
36 content:
37 application/json:
DylanB95EST63132ce2021-12-14 16:34:38 +000038 example:
39 status: 403
40 message: Forbidden error message
41 details: Forbidden error details
mpriyank6da95412023-06-29 16:56:11 +010042 schema:
43 $ref: '#/components/schemas/ErrorMessage'
44 description: Forbidden
DylanB95ESTe5573382022-01-27 17:12:52 +000045 "500":
mpriyank6da95412023-06-29 16:56:11 +010046 content:
47 application/json:
48 example:
49 failedCreatedCmHandles:
mpriyank41c7d002023-08-22 13:17:46 +010050 - cmHandle: my-cm-handle-01
51 errorCode: "00"
52 errorText: Unknown error. <error-details>
53 - cmHandle: my-cm-handle-02
54 errorCode: "01"
55 errorText: cm-handle already exists
56 - cmHandle: my-cm-handle-03
57 errorCode: "03"
58 errorText: cm-handle has an invalid character(s) in id
mpriyank6da95412023-06-29 16:56:11 +010059 failedUpdatedCmHandles:
mpriyank41c7d002023-08-22 13:17:46 +010060 - cmHandle: my-cm-handle-01
61 errorCode: "00"
62 errorText: Unknown error. <error-details>
63 - cmHandle: my-cm-handle-02
64 errorCode: "02"
65 errorText: cm-handle does not exist
66 - cmHandle: my-cm-handle-03
67 errorCode: "03"
68 errorText: cm-handle has an invalid character(s) in id
mpriyank6da95412023-06-29 16:56:11 +010069 failedRemovedCmHandles:
mpriyank41c7d002023-08-22 13:17:46 +010070 - cmHandle: my-cm-handle-01
71 errorCode: "00"
72 errorText: Unknown error. <error-details>
73 - cmHandle: my-cm-handle-02
74 errorCode: "02"
75 errorText: cm-handle does not exists
76 - cmHandle: my-cm-handle-03
77 errorCode: "03"
78 errorText: cm-handle has an invalid character(s) in id
mpriyank6da95412023-06-29 16:56:11 +010079 schema:
80 $ref: '#/components/schemas/DmiPluginRegistrationErrorResponse'
emacleeafb17362022-09-02 14:40:17 +010081 description: Partial or Complete failure. The error details are provided
82 in the response body and all supported error codes are documented in the
83 example.
mpriyank6da95412023-06-29 16:56:11 +010084 summary: DMI notifies NCMP of new CM Handles
85 tags:
mpriyank41c7d002023-08-22 13:17:46 +010086 - network-cm-proxy-inventory
emacleeafb17362022-09-02 14:40:17 +010087 /v1/ch/cmHandles:
88 get:
emacleeafb17362022-09-02 14:40:17 +010089 description: Get all cm handle IDs for a registered DMI plugin
90 operationId: getAllCmHandleIdsForRegisteredDmi
91 parameters:
mpriyank41c7d002023-08-22 13:17:46 +010092 - description: dmi-plugin-identifier
93 in: query
94 name: dmi-plugin-identifier
95 required: true
96 schema:
97 example: my-dmi-plugin
98 type: string
seanbeirne16e23582023-01-26 09:21:44 +000099 responses:
100 "200":
seanbeirne16e23582023-01-26 09:21:44 +0000101 content:
102 application/json:
103 schema:
seanbeirne16e23582023-01-26 09:21:44 +0000104 items:
105 type: string
mpriyank6da95412023-06-29 16:56:11 +0100106 type: array
107 description: OK
mpriyank6da95412023-06-29 16:56:11 +0100108 "403":
109 content:
110 application/json:
seanbeirne16e23582023-01-26 09:21:44 +0000111 example:
112 status: 403
113 message: Forbidden error message
114 details: Forbidden error details
seanbeirne16e23582023-01-26 09:21:44 +0000115 schema:
116 $ref: '#/components/schemas/ErrorMessage'
mpriyank6da95412023-06-29 16:56:11 +0100117 description: Forbidden
118 "500":
119 content:
120 application/json:
seanbeirne16e23582023-01-26 09:21:44 +0000121 example:
122 status: 500
123 message: Internal Server Error
124 details: Internal Server Error occurred
mpriyank6da95412023-06-29 16:56:11 +0100125 schema:
126 $ref: '#/components/schemas/ErrorMessage'
127 description: Internal Server Error
128 summary: "Get all cm handle IDs for a registered DMI plugin (DMI plugin, DMI\
129 \ data plugin, DMI model plugin)"
130 tags:
mpriyank41c7d002023-08-22 13:17:46 +0100131 - network-cm-proxy-inventory
seanbeirne16e23582023-01-26 09:21:44 +0000132 /v1/ch/searches:
133 post:
danielhanrahan8271b872024-10-25 16:28:17 +0100134 description: "Query and get CMHandle references for additional properties, public\
135 \ properties and registered DMI plugin (DMI plugin, DMI data plugin, DMI model\
136 \ plugin)."
seanbeirne16e23582023-01-26 09:21:44 +0000137 operationId: searchCmHandleIds
danielhanrahan8271b872024-10-25 16:28:17 +0100138 parameters:
seanbeirnea1a71f72024-10-21 16:18:27 +0100139 - description: Boolean parameter to determine if returned value(s) will be cm
140 handle references for a given query
danielhanrahan8271b872024-10-25 16:28:17 +0100141 in: query
142 name: outputAlternateId
143 required: false
144 schema:
145 default: false
146 type: boolean
seanbeirne16e23582023-01-26 09:21:44 +0000147 requestBody:
148 content:
149 application/json:
150 schema:
151 $ref: '#/components/schemas/CmHandleQueryParameters'
bmiklos96d54ef2022-09-07 16:11:57 +0200152 required: true
emacleeafb17362022-09-02 14:40:17 +0100153 responses:
154 "200":
emacleeafb17362022-09-02 14:40:17 +0100155 content:
156 application/json:
157 schema:
emacleeafb17362022-09-02 14:40:17 +0100158 items:
159 type: string
mpriyank6da95412023-06-29 16:56:11 +0100160 type: array
161 description: OK
mpriyank6da95412023-06-29 16:56:11 +0100162 "403":
163 content:
164 application/json:
emacleeafb17362022-09-02 14:40:17 +0100165 example:
166 status: 403
167 message: Forbidden error message
168 details: Forbidden error details
DylanB95ESTe5573382022-01-27 17:12:52 +0000169 schema:
170 $ref: '#/components/schemas/ErrorMessage'
mpriyank6da95412023-06-29 16:56:11 +0100171 description: Forbidden
172 "500":
173 content:
174 application/json:
DylanB95ESTe5573382022-01-27 17:12:52 +0000175 example:
176 status: 500
177 message: Internal Server Error
178 details: Internal Server Error occurred
mpriyank6da95412023-06-29 16:56:11 +0100179 schema:
180 $ref: '#/components/schemas/ErrorMessage'
181 description: Internal Server Error
182 summary: Query for CM Handle IDs
183 tags:
mpriyank41c7d002023-08-22 13:17:46 +0100184 - network-cm-proxy-inventory
niamhcorec1904c12021-10-11 16:38:53 +0100185components:
mpriyank6da95412023-06-29 16:56:11 +0100186 parameters:
187 dmiPluginIdentifierInQuery:
188 description: dmi-plugin-identifier
189 in: query
190 name: dmi-plugin-identifier
191 required: true
192 schema:
193 example: my-dmi-plugin
194 type: string
danielhanrahan8271b872024-10-25 16:28:17 +0100195 outputAlternateIdOptionInQuery:
196 description: Boolean parameter to determine if returned value(s) will be cmHandle
197 Ids or Alternate Ids for a given query
198 in: query
199 name: outputAlternateId
200 required: false
201 schema:
202 default: false
203 type: boolean
mpriyank6da95412023-06-29 16:56:11 +0100204 responses:
205 NoContent:
206 content: {}
207 description: No Content
208 BadRequest:
209 content:
210 application/json:
211 example:
danielhanrahanad46c252024-05-01 11:25:36 +0100212 status: 400
mpriyank6da95412023-06-29 16:56:11 +0100213 message: Bad request error message
214 details: Bad request error details
215 schema:
216 $ref: '#/components/schemas/ErrorMessage'
217 description: Bad Request
mpriyank6da95412023-06-29 16:56:11 +0100218 Forbidden:
219 content:
220 application/json:
221 example:
222 status: 403
223 message: Forbidden error message
224 details: Forbidden error details
225 schema:
226 $ref: '#/components/schemas/ErrorMessage'
227 description: Forbidden
228 InternalServerError:
229 content:
230 application/json:
231 example:
232 status: 500
233 message: Internal Server Error
234 details: Internal Server Error occurred
235 schema:
236 $ref: '#/components/schemas/ErrorMessage'
237 description: Internal Server Error
niamhcorec1904c12021-10-11 16:38:53 +0100238 schemas:
239 RestDmiPluginRegistration:
mpriyank6da95412023-06-29 16:56:11 +0100240 example:
niamhcorec1904c12021-10-11 16:38:53 +0100241 updatedCmHandles:
mpriyank41c7d002023-08-22 13:17:46 +0100242 - cmHandle: my-cm-handle
danielhanrahan3e14d392023-12-20 13:31:07 +0000243 alternateId: my-alternate-id
JvD_Ericssone14fe9a2024-02-26 13:45:47 +0000244 dataProducerIdentifier: my-data-producer-identifier
mpriyank41c7d002023-08-22 13:17:46 +0100245 publicCmHandleProperties:
246 key: my-property
247 cmHandleProperties:
248 key: my-property
danielhanrahanc3e7b0e2023-09-20 15:01:59 +0100249 moduleSetTag: my-module-set-tag
mpriyankd74c2d22023-11-06 13:25:38 +0000250 trustLevel: COMPLETE
mpriyank41c7d002023-08-22 13:17:46 +0100251 - cmHandle: my-cm-handle
danielhanrahan3e14d392023-12-20 13:31:07 +0000252 alternateId: my-alternate-id
JvD_Ericssone14fe9a2024-02-26 13:45:47 +0000253 dataProducerIdentifier: my-data-producer-identifier
mpriyank41c7d002023-08-22 13:17:46 +0100254 publicCmHandleProperties:
255 key: my-property
256 cmHandleProperties:
257 key: my-property
danielhanrahanc3e7b0e2023-09-20 15:01:59 +0100258 moduleSetTag: my-module-set-tag
mpriyankd74c2d22023-11-06 13:25:38 +0000259 trustLevel: COMPLETE
mpriyank6da95412023-06-29 16:56:11 +0100260 createdCmHandles:
mpriyank41c7d002023-08-22 13:17:46 +0100261 - cmHandle: my-cm-handle
danielhanrahan3e14d392023-12-20 13:31:07 +0000262 alternateId: my-alternate-id
JvD_Ericssone14fe9a2024-02-26 13:45:47 +0000263 dataProducerIdentifier: my-data-producer-identifier
mpriyank41c7d002023-08-22 13:17:46 +0100264 publicCmHandleProperties:
265 key: my-property
266 cmHandleProperties:
267 key: my-property
danielhanrahanc3e7b0e2023-09-20 15:01:59 +0100268 moduleSetTag: my-module-set-tag
mpriyankd74c2d22023-11-06 13:25:38 +0000269 trustLevel: COMPLETE
mpriyank41c7d002023-08-22 13:17:46 +0100270 - cmHandle: my-cm-handle
danielhanrahan3e14d392023-12-20 13:31:07 +0000271 alternateId: my-alternate-id
JvD_Ericssone14fe9a2024-02-26 13:45:47 +0000272 dataProducerIdentifier: my-data-producer-identifier
mpriyank41c7d002023-08-22 13:17:46 +0100273 publicCmHandleProperties:
274 key: my-property
275 cmHandleProperties:
276 key: my-property
danielhanrahanc3e7b0e2023-09-20 15:01:59 +0100277 moduleSetTag: my-module-set-tag
mpriyankd74c2d22023-11-06 13:25:38 +0000278 trustLevel: COMPLETE
mpriyank6da95412023-06-29 16:56:11 +0100279 dmiPlugin: my-dmi-plugin
280 dmiModelPlugin: my-dmi-model-plugin
egernugfb09b7c2023-10-12 13:33:08 +0100281 upgradedCmHandles:
282 cmHandles:
283 - my-cm-handle1
284 - my-cm-handle2
285 - my-cm-handle3
286 moduleSetTag: my-module-set-tag
mpriyank6da95412023-06-29 16:56:11 +0100287 dmiDataPlugin: my-dmi-data-plugin
niamhcorec1904c12021-10-11 16:38:53 +0100288 removedCmHandles:
mpriyank41c7d002023-08-22 13:17:46 +0100289 - my-cm-handle1
290 - my-cm-handle2
291 - my-cm-handle3
mpriyank6da95412023-06-29 16:56:11 +0100292 properties:
293 dmiPlugin:
294 default: ""
295 example: my-dmi-plugin
296 type: string
297 dmiDataPlugin:
298 default: ""
299 example: my-dmi-data-plugin
300 type: string
301 dmiModelPlugin:
302 default: ""
303 example: my-dmi-model-plugin
304 type: string
305 createdCmHandles:
306 items:
307 $ref: '#/components/schemas/RestInputCmHandle'
308 type: array
309 updatedCmHandles:
310 items:
311 $ref: '#/components/schemas/RestInputCmHandle'
312 type: array
313 removedCmHandles:
314 example:
mpriyank41c7d002023-08-22 13:17:46 +0100315 - my-cm-handle1
316 - my-cm-handle2
317 - my-cm-handle3
niamhcorec1904c12021-10-11 16:38:53 +0100318 items:
319 type: string
mpriyank6da95412023-06-29 16:56:11 +0100320 type: array
egernugfb09b7c2023-10-12 13:33:08 +0100321 upgradedCmHandles:
322 $ref: '#/components/schemas/UpgradedCmHandles'
niamhcorec1904c12021-10-11 16:38:53 +0100323 type: object
mpriyank6da95412023-06-29 16:56:11 +0100324 RestInputCmHandle:
325 example:
326 cmHandle: my-cm-handle
danielhanrahan3e14d392023-12-20 13:31:07 +0000327 alternateId: my-alternate-id
JvD_Ericssone14fe9a2024-02-26 13:45:47 +0000328 dataProducerIdentifier: my-data-producer-identifier
mpriyank6da95412023-06-29 16:56:11 +0100329 publicCmHandleProperties:
330 key: my-property
331 cmHandleProperties:
332 key: my-property
danielhanrahanc3e7b0e2023-09-20 15:01:59 +0100333 moduleSetTag: my-module-set-tag
mpriyankd74c2d22023-11-06 13:25:38 +0000334 trustLevel: COMPLETE
niamhcorec1904c12021-10-11 16:38:53 +0100335 properties:
336 cmHandle:
DylanB95EST63132ce2021-12-14 16:34:38 +0000337 example: my-cm-handle
mpriyank6da95412023-06-29 16:56:11 +0100338 type: string
niamhcorec1904c12021-10-11 16:38:53 +0100339 cmHandleProperties:
mpriyank6da95412023-06-29 16:56:11 +0100340 additionalProperties:
341 example: my-property
342 type: string
343 type: object
DylanB95EST63132ce2021-12-14 16:34:38 +0000344 publicCmHandleProperties:
mpriyank6da95412023-06-29 16:56:11 +0100345 additionalProperties:
346 example: my-property
347 type: string
348 type: object
danielhanrahanc3e7b0e2023-09-20 15:01:59 +0100349 moduleSetTag:
350 example: my-module-set-tag
351 type: string
mpriyankd74c2d22023-11-06 13:25:38 +0000352 trustLevel:
353 enum:
354 - COMPLETE
355 - NONE
356 example: COMPLETE
357 type: string
danielhanrahan3e14d392023-12-20 13:31:07 +0000358 alternateId:
359 example: my-alternate-id
360 type: string
JvD_Ericssone14fe9a2024-02-26 13:45:47 +0000361 dataProducerIdentifier:
362 example: my-data-producer-identifier
363 type: string
mpriyank6da95412023-06-29 16:56:11 +0100364 required:
mpriyank41c7d002023-08-22 13:17:46 +0100365 - cmHandle
mpriyank6da95412023-06-29 16:56:11 +0100366 type: object
DylanB95EST63132ce2021-12-14 16:34:38 +0000367 RestCmHandleProperties:
niamhcorec1904c12021-10-11 16:38:53 +0100368 additionalProperties:
DylanB95EST63132ce2021-12-14 16:34:38 +0000369 example: my-property
mpriyank6da95412023-06-29 16:56:11 +0100370 type: string
niamhcorec1904c12021-10-11 16:38:53 +0100371 type: object
egernugfb09b7c2023-10-12 13:33:08 +0100372 UpgradedCmHandles:
373 example:
374 cmHandles:
375 - my-cm-handle1
376 - my-cm-handle2
377 - my-cm-handle3
378 moduleSetTag: my-module-set-tag
379 properties:
380 cmHandles:
381 example:
382 - my-cm-handle1
383 - my-cm-handle2
384 - my-cm-handle3
385 items:
386 type: string
387 type: array
388 moduleSetTag:
danielhanrahan3e14d392023-12-20 13:31:07 +0000389 default: ""
egernugfb09b7c2023-10-12 13:33:08 +0100390 example: my-module-set-tag
391 type: string
392 required:
393 - cmHandles
394 type: object
mpriyank6da95412023-06-29 16:56:11 +0100395 ErrorMessage:
niamhcorec1904c12021-10-11 16:38:53 +0100396 properties:
397 status:
398 type: string
399 message:
400 type: string
401 details:
402 type: string
mpriyank6da95412023-06-29 16:56:11 +0100403 title: Error
emacleeafb17362022-09-02 14:40:17 +0100404 type: object
mpriyank6da95412023-06-29 16:56:11 +0100405 DmiPluginRegistrationErrorResponse:
emacleeafb17362022-09-02 14:40:17 +0100406 properties:
407 failedCreatedCmHandles:
emacleeafb17362022-09-02 14:40:17 +0100408 items:
409 $ref: '#/components/schemas/CmHandlerRegistrationErrorResponse'
mpriyank6da95412023-06-29 16:56:11 +0100410 type: array
emacleeafb17362022-09-02 14:40:17 +0100411 failedUpdatedCmHandles:
emacleeafb17362022-09-02 14:40:17 +0100412 items:
413 $ref: '#/components/schemas/CmHandlerRegistrationErrorResponse'
mpriyank6da95412023-06-29 16:56:11 +0100414 type: array
emacleeafb17362022-09-02 14:40:17 +0100415 failedRemovedCmHandles:
emacleeafb17362022-09-02 14:40:17 +0100416 items:
417 $ref: '#/components/schemas/CmHandlerRegistrationErrorResponse'
mpriyank6da95412023-06-29 16:56:11 +0100418 type: array
egernugfb09b7c2023-10-12 13:33:08 +0100419 failedUpgradeCmHandles:
420 items:
421 $ref: '#/components/schemas/CmHandlerRegistrationErrorResponse'
422 type: array
emacleeafb17362022-09-02 14:40:17 +0100423 type: object
mpriyank6da95412023-06-29 16:56:11 +0100424 CmHandlerRegistrationErrorResponse:
emacleeafb17362022-09-02 14:40:17 +0100425 properties:
426 cmHandle:
emacleeafb17362022-09-02 14:40:17 +0100427 example: my-cm-handle
mpriyank6da95412023-06-29 16:56:11 +0100428 type: string
emacleeafb17362022-09-02 14:40:17 +0100429 errorCode:
emacleeafb17362022-09-02 14:40:17 +0100430 example: "00"
emacleeafb17362022-09-02 14:40:17 +0100431 type: string
mpriyank6da95412023-06-29 16:56:11 +0100432 errorText:
emacleeafb17362022-09-02 14:40:17 +0100433 example: Unknown error. <error-details>
mpriyank6da95412023-06-29 16:56:11 +0100434 type: string
seanbeirne16e23582023-01-26 09:21:44 +0000435 type: object
mpriyank6da95412023-06-29 16:56:11 +0100436 CmHandleQueryParameters:
437 example:
438 cmHandleQueryParameters:
mpriyank41c7d002023-08-22 13:17:46 +0100439 - conditionParameters:
440 - key: conditionParameters
441 - key: conditionParameters
442 conditionName: conditionName
443 - conditionParameters:
444 - key: conditionParameters
445 - key: conditionParameters
446 conditionName: conditionName
mpriyank6da95412023-06-29 16:56:11 +0100447 conditions:
mpriyank41c7d002023-08-22 13:17:46 +0100448 - name: name
449 conditionParameters:
450 - moduleName: my-module
451 - moduleName: my-module
452 - name: name
453 conditionParameters:
454 - moduleName: my-module
455 - moduleName: my-module
seanbeirne16e23582023-01-26 09:21:44 +0000456 properties:
457 cmHandleQueryParameters:
seanbeirne16e23582023-01-26 09:21:44 +0000458 items:
459 $ref: '#/components/schemas/ConditionProperties'
seanbeirne16e23582023-01-26 09:21:44 +0000460 type: array
mpriyank6da95412023-06-29 16:56:11 +0100461 conditions:
seanbeirne16e23582023-01-26 09:21:44 +0000462 deprecated: true
mpriyank6da95412023-06-29 16:56:11 +0100463 description: "not necessary, it is just for backward compatibility"
seanbeirne16e23582023-01-26 09:21:44 +0000464 items:
465 $ref: '#/components/schemas/OldConditionProperties'
mpriyank6da95412023-06-29 16:56:11 +0100466 type: array
467 title: Cm Handle query parameters for executing cm handle search
468 type: object
seanbeirne16e23582023-01-26 09:21:44 +0000469 ConditionProperties:
mpriyank6da95412023-06-29 16:56:11 +0100470 example:
471 conditionParameters:
mpriyank41c7d002023-08-22 13:17:46 +0100472 - key: conditionParameters
473 - key: conditionParameters
mpriyank6da95412023-06-29 16:56:11 +0100474 conditionName: conditionName
seanbeirne16e23582023-01-26 09:21:44 +0000475 properties:
476 conditionName:
477 type: string
478 conditionParameters:
seanbeirne16e23582023-01-26 09:21:44 +0000479 items:
seanbeirne16e23582023-01-26 09:21:44 +0000480 additionalProperties:
481 type: string
mpriyank6da95412023-06-29 16:56:11 +0100482 type: object
483 type: array
seanbeirne16e23582023-01-26 09:21:44 +0000484 OldConditionProperties:
mpriyank6da95412023-06-29 16:56:11 +0100485 deprecated: true
486 example:
487 name: name
488 conditionParameters:
mpriyank41c7d002023-08-22 13:17:46 +0100489 - moduleName: my-module
490 - moduleName: my-module
seanbeirne16e23582023-01-26 09:21:44 +0000491 properties:
492 name:
493 type: string
494 conditionParameters:
seanbeirne16e23582023-01-26 09:21:44 +0000495 items:
496 $ref: '#/components/schemas/ModuleNameAsJsonObject'
mpriyank6da95412023-06-29 16:56:11 +0100497 type: array
seanbeirne16e23582023-01-26 09:21:44 +0000498 ModuleNameAsJsonObject:
mpriyank6da95412023-06-29 16:56:11 +0100499 example:
500 moduleName: my-module
seanbeirne16e23582023-01-26 09:21:44 +0000501 properties:
502 moduleName:
seanbeirne16e23582023-01-26 09:21:44 +0000503 example: my-module
mpriyank6da95412023-06-29 16:56:11 +0100504 type: string
seanbeirne16e23582023-01-26 09:21:44 +0000505 securitySchemes:
506 basicAuth:
seanbeirne16e23582023-01-26 09:21:44 +0000507 scheme: basic
mpriyank6da95412023-06-29 16:56:11 +0100508 type: http