From 4f3572596b4db81e89aa69cbee8741591d77ad47 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 30 Sep 2025 13:14:06 +0200 Subject: [PATCH] api: swagger: remove VirtualSize fields for API > v1.43 The `VirtualSize` field was deprecated in [moby@1261fe6], and omitted / removed in API v1.44 in [moby@913b0f5]. We should not document the field as part of those API versions as it no longer exists for those. [moby@1261fe6]: https://github.com/moby/moby/commit/1261fe69a3586bb102182aa885197822419c768c [moby@913b0f5]: https://github.com/moby/moby/commit/913b0f51cab18a56247a950f5f1e75ca79b63039 Signed-off-by: Sebastiaan van Stijn (cherry picked from commit 51cbd2ed16e12fa06aa99fc91c54dfdfb3bdb1ae) Signed-off-by: Sebastiaan van Stijn --- api/swagger.yaml | 16 ---------------- docs/api/v1.44.yaml | 16 ---------------- docs/api/v1.45.yaml | 16 ---------------- docs/api/v1.46.yaml | 16 ---------------- docs/api/v1.47.yaml | 16 ---------------- docs/api/v1.48.yaml | 16 ---------------- docs/api/v1.49.yaml | 16 ---------------- docs/api/v1.50.yaml | 16 ---------------- docs/api/v1.51.yaml | 16 ---------------- 9 files changed, 144 deletions(-) diff --git a/api/swagger.yaml b/api/swagger.yaml index 147536b02a..3b10b10c78 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -2007,14 +2007,6 @@ definitions: format: "int64" x-nullable: false example: 1239828 - VirtualSize: - description: | - Total size of the image including all layers it is composed of. - - Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead. - type: "integer" - format: "int64" - example: 1239828 GraphDriver: $ref: "#/definitions/DriverData" RootFS: @@ -2147,14 +2139,6 @@ definitions: format: "int64" x-nullable: false example: 1239828 - VirtualSize: - description: |- - Total size of the image including all layers it is composed of. - - Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead. - type: "integer" - format: "int64" - example: 172064416 Labels: description: "User-defined key/value metadata." type: "object" diff --git a/docs/api/v1.44.yaml b/docs/api/v1.44.yaml index ba2a842e01..031a43c0eb 100644 --- a/docs/api/v1.44.yaml +++ b/docs/api/v1.44.yaml @@ -2085,14 +2085,6 @@ definitions: format: "int64" x-nullable: false example: 1239828 - VirtualSize: - description: | - Total size of the image including all layers it is composed of. - - Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead. - type: "integer" - format: "int64" - example: 1239828 GraphDriver: $ref: "#/definitions/GraphDriverData" RootFS: @@ -2224,14 +2216,6 @@ definitions: format: "int64" x-nullable: false example: 1239828 - VirtualSize: - description: |- - Total size of the image including all layers it is composed of. - - Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead. - type: "integer" - format: "int64" - example: 172064416 Labels: description: "User-defined key/value metadata." type: "object" diff --git a/docs/api/v1.45.yaml b/docs/api/v1.45.yaml index eed0143465..764a33644f 100644 --- a/docs/api/v1.45.yaml +++ b/docs/api/v1.45.yaml @@ -2071,14 +2071,6 @@ definitions: format: "int64" x-nullable: false example: 1239828 - VirtualSize: - description: | - Total size of the image including all layers it is composed of. - - Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead. - type: "integer" - format: "int64" - example: 1239828 GraphDriver: $ref: "#/definitions/GraphDriverData" RootFS: @@ -2210,14 +2202,6 @@ definitions: format: "int64" x-nullable: false example: 1239828 - VirtualSize: - description: |- - Total size of the image including all layers it is composed of. - - Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead. - type: "integer" - format: "int64" - example: 172064416 Labels: description: "User-defined key/value metadata." type: "object" diff --git a/docs/api/v1.46.yaml b/docs/api/v1.46.yaml index 7cafe98488..8aa45ecb14 100644 --- a/docs/api/v1.46.yaml +++ b/docs/api/v1.46.yaml @@ -2098,14 +2098,6 @@ definitions: format: "int64" x-nullable: false example: 1239828 - VirtualSize: - description: | - Total size of the image including all layers it is composed of. - - Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead. - type: "integer" - format: "int64" - example: 1239828 GraphDriver: $ref: "#/definitions/GraphDriverData" RootFS: @@ -2238,14 +2230,6 @@ definitions: format: "int64" x-nullable: false example: 1239828 - VirtualSize: - description: |- - Total size of the image including all layers it is composed of. - - Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead. - type: "integer" - format: "int64" - example: 172064416 Labels: description: "User-defined key/value metadata." type: "object" diff --git a/docs/api/v1.47.yaml b/docs/api/v1.47.yaml index 157e98172b..4407ed54be 100644 --- a/docs/api/v1.47.yaml +++ b/docs/api/v1.47.yaml @@ -2098,14 +2098,6 @@ definitions: format: "int64" x-nullable: false example: 1239828 - VirtualSize: - description: | - Total size of the image including all layers it is composed of. - - Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead. - type: "integer" - format: "int64" - example: 1239828 GraphDriver: $ref: "#/definitions/DriverData" RootFS: @@ -2238,14 +2230,6 @@ definitions: format: "int64" x-nullable: false example: 1239828 - VirtualSize: - description: |- - Total size of the image including all layers it is composed of. - - Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead. - type: "integer" - format: "int64" - example: 172064416 Labels: description: "User-defined key/value metadata." type: "object" diff --git a/docs/api/v1.48.yaml b/docs/api/v1.48.yaml index cc8886abf9..fb0324c05a 100644 --- a/docs/api/v1.48.yaml +++ b/docs/api/v1.48.yaml @@ -2175,14 +2175,6 @@ definitions: format: "int64" x-nullable: false example: 1239828 - VirtualSize: - description: | - Total size of the image including all layers it is composed of. - - Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead. - type: "integer" - format: "int64" - example: 1239828 GraphDriver: $ref: "#/definitions/DriverData" RootFS: @@ -2315,14 +2307,6 @@ definitions: format: "int64" x-nullable: false example: 1239828 - VirtualSize: - description: |- - Total size of the image including all layers it is composed of. - - Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead. - type: "integer" - format: "int64" - example: 172064416 Labels: description: "User-defined key/value metadata." type: "object" diff --git a/docs/api/v1.49.yaml b/docs/api/v1.49.yaml index 60e39dc958..7cbfddca3e 100644 --- a/docs/api/v1.49.yaml +++ b/docs/api/v1.49.yaml @@ -2175,14 +2175,6 @@ definitions: format: "int64" x-nullable: false example: 1239828 - VirtualSize: - description: | - Total size of the image including all layers it is composed of. - - Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead. - type: "integer" - format: "int64" - example: 1239828 GraphDriver: $ref: "#/definitions/DriverData" RootFS: @@ -2315,14 +2307,6 @@ definitions: format: "int64" x-nullable: false example: 1239828 - VirtualSize: - description: |- - Total size of the image including all layers it is composed of. - - Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead. - type: "integer" - format: "int64" - example: 172064416 Labels: description: "User-defined key/value metadata." type: "object" diff --git a/docs/api/v1.50.yaml b/docs/api/v1.50.yaml index 983e2e291c..b6eebed665 100644 --- a/docs/api/v1.50.yaml +++ b/docs/api/v1.50.yaml @@ -2007,14 +2007,6 @@ definitions: format: "int64" x-nullable: false example: 1239828 - VirtualSize: - description: | - Total size of the image including all layers it is composed of. - - Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead. - type: "integer" - format: "int64" - example: 1239828 GraphDriver: $ref: "#/definitions/DriverData" RootFS: @@ -2147,14 +2139,6 @@ definitions: format: "int64" x-nullable: false example: 1239828 - VirtualSize: - description: |- - Total size of the image including all layers it is composed of. - - Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead. - type: "integer" - format: "int64" - example: 172064416 Labels: description: "User-defined key/value metadata." type: "object" diff --git a/docs/api/v1.51.yaml b/docs/api/v1.51.yaml index 147536b02a..3b10b10c78 100644 --- a/docs/api/v1.51.yaml +++ b/docs/api/v1.51.yaml @@ -2007,14 +2007,6 @@ definitions: format: "int64" x-nullable: false example: 1239828 - VirtualSize: - description: | - Total size of the image including all layers it is composed of. - - Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead. - type: "integer" - format: "int64" - example: 1239828 GraphDriver: $ref: "#/definitions/DriverData" RootFS: @@ -2147,14 +2139,6 @@ definitions: format: "int64" x-nullable: false example: 1239828 - VirtualSize: - description: |- - Total size of the image including all layers it is composed of. - - Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead. - type: "integer" - format: "int64" - example: 172064416 Labels: description: "User-defined key/value metadata." type: "object"