File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed
modules/swagger-generator/src/main/resources Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -113,9 +113,9 @@ paths:
113
113
content :
114
114
application/json :
115
115
schema :
116
- type : array
117
- items :
118
- type : string
116
+ type : " object "
117
+ additionalProperties :
118
+ $ref : " #/components/schemas/CliOption "
119
119
components :
120
120
parameters :
121
121
version :
@@ -308,3 +308,19 @@ components:
308
308
description : Remove prefix of operationId, e.g. config_getId => getId
309
309
skipOverride :
310
310
type : boolean
311
+ CliOption :
312
+ type : " object"
313
+ properties :
314
+ optionName :
315
+ type : " string"
316
+ description :
317
+ type : " string"
318
+ type :
319
+ type : " string"
320
+ description : " Data type is based on the types supported by the JSON-Schema"
321
+ enum :
322
+ type : " object"
323
+ additionalProperties :
324
+ type : " string"
325
+ default :
326
+ type : " string"
You can’t perform that action at this time.
0 commit comments