File tree 2 files changed +14
-4
lines changed
2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -137,10 +137,14 @@ paths:
137
137
content : &id001
138
138
application/json :
139
139
schema :
140
- $ref : ' #/components/schemas/ComponentReport'
140
+ items :
141
+ $ref : ' #/components/schemas/ComponentReport'
142
+ type : array
141
143
application/vnd.ossindex.component-report-request.v1+json :
142
144
schema :
143
- $ref : ' #/components/schemas/ComponentReport'
145
+ items :
146
+ $ref : ' #/components/schemas/ComponentReport'
147
+ type : array
144
148
description : Vulnerability report for components
145
149
' 400 ' :
146
150
content : {}
Original file line number Diff line number Diff line change 73
73
vuln_response = {
74
74
'application/json' : {
75
75
'schema' : {
76
- '$ref' : '#/components/schemas/ComponentReport'
76
+ 'type' : 'array' ,
77
+ 'items' : {
78
+ '$ref' : '#/components/schemas/ComponentReport'
79
+ }
77
80
}
78
81
},
79
82
'application/vnd.ossindex.component-report-request.v1+json' : {
80
83
'schema' : {
81
- '$ref' : '#/components/schemas/ComponentReport'
84
+ 'type' : 'array' ,
85
+ 'items' : {
86
+ '$ref' : '#/components/schemas/ComponentReport'
87
+ }
82
88
}
83
89
}
84
90
}
You can’t perform that action at this time.
0 commit comments