Skip to content
This repository was archived by the owner on Nov 13, 2025. It is now read-only.

Commit 1cf07bf

Browse files
committed
The Warnings attribute in the /volumes response can be missing
1 parent 6fd505e commit 1cf07bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

engine-api-model/docker-engine-api-v1.41.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8722,7 +8722,7 @@ paths:
87228722
$ref: "#/definitions/Volume"
87238723
Warnings:
87248724
type: "array"
8725-
x-nullable: false
8725+
x-nullable: true
87268726
description: |
87278727
Warnings that occurred when fetching the list of volumes.
87288728
items:

engine-api-model/src/main/kotlin/de/gesellix/docker/engine/model/VolumeListResponse.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ data class VolumeListResponse(
2626
val volumes: kotlin.collections.List<Volume>,
2727
/* Warnings that occurred when fetching the list of volumes. */
2828
@Json(name = "Warnings")
29-
val warnings: kotlin.collections.List<kotlin.String>
29+
val warnings: kotlin.collections.List<kotlin.String>?
3030
)

0 commit comments

Comments
 (0)