Skip to content

Commit a9bd320

Browse files
Add actuator sbom to test cases
1 parent adffea0 commit a9bd320

File tree

7 files changed

+434
-0
lines changed

7 files changed

+434
-0
lines changed

springdoc-openapi-tests/springdoc-openapi-actuator-webflux-tests/src/test/resources/results/app146-1.json

+62
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,68 @@
217217
}
218218
}
219219
},
220+
"/application/sbom": {
221+
"get": {
222+
"operationId": "sbom",
223+
"responses": {
224+
"200": {
225+
"content": {
226+
"application/json": {
227+
"schema": {
228+
"type": "object"
229+
}
230+
},
231+
"application/vnd.spring-boot.actuator.v2+json": {
232+
"schema": {
233+
"type": "object"
234+
}
235+
},
236+
"application/vnd.spring-boot.actuator.v3+json": {
237+
"schema": {
238+
"type": "object"
239+
}
240+
}
241+
},
242+
"description": "OK"
243+
}
244+
},
245+
"summary": "Actuator web endpoint 'sbom'",
246+
"tags": [
247+
"Actuator"
248+
]
249+
}
250+
},
251+
"/application/sbom/{id}": {
252+
"get": {
253+
"operationId": "sbom-id",
254+
"parameters": [
255+
{
256+
"in": "path",
257+
"name": "id",
258+
"required": true,
259+
"schema": {
260+
"type": "string"
261+
}
262+
}
263+
],
264+
"responses": {
265+
"200": {
266+
"content": {
267+
"application/octet-stream": {
268+
"schema": {
269+
"type": "object"
270+
}
271+
}
272+
},
273+
"description": "OK"
274+
}
275+
},
276+
"summary": "Actuator web endpoint 'sbom-id'",
277+
"tags": [
278+
"Actuator"
279+
]
280+
}
281+
},
220282
"/application/metrics": {
221283
"get": {
222284
"tags": [

springdoc-openapi-tests/springdoc-openapi-actuator-webflux-tests/src/test/resources/results/app147-1.json

+62
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,68 @@
217217
}
218218
}
219219
},
220+
"/application/sbom": {
221+
"get": {
222+
"operationId": "sbom",
223+
"responses": {
224+
"200": {
225+
"content": {
226+
"application/json": {
227+
"schema": {
228+
"type": "object"
229+
}
230+
},
231+
"application/vnd.spring-boot.actuator.v2+json": {
232+
"schema": {
233+
"type": "object"
234+
}
235+
},
236+
"application/vnd.spring-boot.actuator.v3+json": {
237+
"schema": {
238+
"type": "object"
239+
}
240+
}
241+
},
242+
"description": "OK"
243+
}
244+
},
245+
"summary": "Actuator web endpoint 'sbom'",
246+
"tags": [
247+
"Actuator"
248+
]
249+
}
250+
},
251+
"/application/sbom/{id}": {
252+
"get": {
253+
"operationId": "sbom-id",
254+
"parameters": [
255+
{
256+
"in": "path",
257+
"name": "id",
258+
"required": true,
259+
"schema": {
260+
"type": "string"
261+
}
262+
}
263+
],
264+
"responses": {
265+
"200": {
266+
"content": {
267+
"application/octet-stream": {
268+
"schema": {
269+
"type": "object"
270+
}
271+
}
272+
},
273+
"description": "OK"
274+
}
275+
},
276+
"summary": "Actuator web endpoint 'sbom-id'",
277+
"tags": [
278+
"Actuator"
279+
]
280+
}
281+
},
220282
"/application/metrics": {
221283
"get": {
222284
"tags": [

springdoc-openapi-tests/springdoc-openapi-actuator-webflux-tests/src/test/resources/results/app148-2.json

+62
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,68 @@
217217
}
218218
}
219219
},
220+
"/application/sbom": {
221+
"get": {
222+
"operationId": "sbom",
223+
"responses": {
224+
"200": {
225+
"content": {
226+
"application/json": {
227+
"schema": {
228+
"type": "object"
229+
}
230+
},
231+
"application/vnd.spring-boot.actuator.v2+json": {
232+
"schema": {
233+
"type": "object"
234+
}
235+
},
236+
"application/vnd.spring-boot.actuator.v3+json": {
237+
"schema": {
238+
"type": "object"
239+
}
240+
}
241+
},
242+
"description": "OK"
243+
}
244+
},
245+
"summary": "Actuator web endpoint 'sbom'",
246+
"tags": [
247+
"Actuator"
248+
]
249+
}
250+
},
251+
"/application/sbom/{id}": {
252+
"get": {
253+
"operationId": "sbom-id",
254+
"parameters": [
255+
{
256+
"in": "path",
257+
"name": "id",
258+
"required": true,
259+
"schema": {
260+
"type": "string"
261+
}
262+
}
263+
],
264+
"responses": {
265+
"200": {
266+
"content": {
267+
"application/octet-stream": {
268+
"schema": {
269+
"type": "object"
270+
}
271+
}
272+
},
273+
"description": "OK"
274+
}
275+
},
276+
"summary": "Actuator web endpoint 'sbom-id'",
277+
"tags": [
278+
"Actuator"
279+
]
280+
}
281+
},
220282
"/application/metrics": {
221283
"get": {
222284
"tags": [

springdoc-openapi-tests/springdoc-openapi-actuator-webflux-tests/src/test/resources/results/app186.json

+62
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,68 @@
217217
}
218218
}
219219
},
220+
"/actuator/sbom": {
221+
"get": {
222+
"operationId": "sbom",
223+
"responses": {
224+
"200": {
225+
"content": {
226+
"application/json": {
227+
"schema": {
228+
"type": "object"
229+
}
230+
},
231+
"application/vnd.spring-boot.actuator.v2+json": {
232+
"schema": {
233+
"type": "object"
234+
}
235+
},
236+
"application/vnd.spring-boot.actuator.v3+json": {
237+
"schema": {
238+
"type": "object"
239+
}
240+
}
241+
},
242+
"description": "OK"
243+
}
244+
},
245+
"summary": "Actuator web endpoint 'sbom'",
246+
"tags": [
247+
"Actuator"
248+
]
249+
}
250+
},
251+
"/actuator/sbom/{id}": {
252+
"get": {
253+
"operationId": "sbom-id",
254+
"parameters": [
255+
{
256+
"in": "path",
257+
"name": "id",
258+
"required": true,
259+
"schema": {
260+
"type": "string"
261+
}
262+
}
263+
],
264+
"responses": {
265+
"200": {
266+
"content": {
267+
"application/octet-stream": {
268+
"schema": {
269+
"type": "object"
270+
}
271+
}
272+
},
273+
"description": "OK"
274+
}
275+
},
276+
"summary": "Actuator web endpoint 'sbom-id'",
277+
"tags": [
278+
"Actuator"
279+
]
280+
}
281+
},
220282
"/actuator/metrics": {
221283
"get": {
222284
"tags": [

springdoc-openapi-tests/springdoc-openapi-actuator-webmvc-tests/src/test/resources/results/app147-1.json

+62
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,68 @@
297297
}
298298
}
299299
},
300+
"/application/sbom": {
301+
"get": {
302+
"operationId": "sbom",
303+
"responses": {
304+
"200": {
305+
"content": {
306+
"application/json": {
307+
"schema": {
308+
"type": "object"
309+
}
310+
},
311+
"application/vnd.spring-boot.actuator.v2+json": {
312+
"schema": {
313+
"type": "object"
314+
}
315+
},
316+
"application/vnd.spring-boot.actuator.v3+json": {
317+
"schema": {
318+
"type": "object"
319+
}
320+
}
321+
},
322+
"description": "OK"
323+
}
324+
},
325+
"summary": "Actuator web endpoint 'sbom'",
326+
"tags": [
327+
"Actuator"
328+
]
329+
}
330+
},
331+
"/application/sbom/{id}": {
332+
"get": {
333+
"operationId": "sbom-id",
334+
"parameters": [
335+
{
336+
"in": "path",
337+
"name": "id",
338+
"required": true,
339+
"schema": {
340+
"type": "string"
341+
}
342+
}
343+
],
344+
"responses": {
345+
"200": {
346+
"content": {
347+
"application/octet-stream": {
348+
"schema": {
349+
"type": "object"
350+
}
351+
}
352+
},
353+
"description": "OK"
354+
}
355+
},
356+
"summary": "Actuator web endpoint 'sbom-id'",
357+
"tags": [
358+
"Actuator"
359+
]
360+
}
361+
},
300362
"/application/mappings": {
301363
"get": {
302364
"tags": [

0 commit comments

Comments
 (0)