Browse code

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 <github@gone.nl>

Sebastiaan van Stijn authored on 2025/09/30 20:14:06
Showing 10 changed files
... ...
@@ -2085,14 +2085,6 @@ definitions:
2085 2085
         format: "int64"
2086 2086
         x-nullable: false
2087 2087
         example: 1239828
2088
-      VirtualSize:
2089
-        description: |
2090
-          Total size of the image including all layers it is composed of.
2091
-
2092
-          Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead.
2093
-        type: "integer"
2094
-        format: "int64"
2095
-        example: 1239828
2096 2088
       GraphDriver:
2097 2089
         $ref: "#/definitions/GraphDriverData"
2098 2090
       RootFS:
... ...
@@ -2224,14 +2216,6 @@ definitions:
2224 2224
         format: "int64"
2225 2225
         x-nullable: false
2226 2226
         example: 1239828
2227
-      VirtualSize:
2228
-        description: |-
2229
-          Total size of the image including all layers it is composed of.
2230
-
2231
-          Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead.
2232
-        type: "integer"
2233
-        format: "int64"
2234
-        example: 172064416
2235 2227
       Labels:
2236 2228
         description: "User-defined key/value metadata."
2237 2229
         type: "object"
... ...
@@ -2071,14 +2071,6 @@ definitions:
2071 2071
         format: "int64"
2072 2072
         x-nullable: false
2073 2073
         example: 1239828
2074
-      VirtualSize:
2075
-        description: |
2076
-          Total size of the image including all layers it is composed of.
2077
-
2078
-          Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead.
2079
-        type: "integer"
2080
-        format: "int64"
2081
-        example: 1239828
2082 2074
       GraphDriver:
2083 2075
         $ref: "#/definitions/GraphDriverData"
2084 2076
       RootFS:
... ...
@@ -2210,14 +2202,6 @@ definitions:
2210 2210
         format: "int64"
2211 2211
         x-nullable: false
2212 2212
         example: 1239828
2213
-      VirtualSize:
2214
-        description: |-
2215
-          Total size of the image including all layers it is composed of.
2216
-
2217
-          Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead.
2218
-        type: "integer"
2219
-        format: "int64"
2220
-        example: 172064416
2221 2213
       Labels:
2222 2214
         description: "User-defined key/value metadata."
2223 2215
         type: "object"
... ...
@@ -2098,14 +2098,6 @@ definitions:
2098 2098
         format: "int64"
2099 2099
         x-nullable: false
2100 2100
         example: 1239828
2101
-      VirtualSize:
2102
-        description: |
2103
-          Total size of the image including all layers it is composed of.
2104
-
2105
-          Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead.
2106
-        type: "integer"
2107
-        format: "int64"
2108
-        example: 1239828
2109 2101
       GraphDriver:
2110 2102
         $ref: "#/definitions/GraphDriverData"
2111 2103
       RootFS:
... ...
@@ -2238,14 +2230,6 @@ definitions:
2238 2238
         format: "int64"
2239 2239
         x-nullable: false
2240 2240
         example: 1239828
2241
-      VirtualSize:
2242
-        description: |-
2243
-          Total size of the image including all layers it is composed of.
2244
-
2245
-          Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead.
2246
-        type: "integer"
2247
-        format: "int64"
2248
-        example: 172064416
2249 2241
       Labels:
2250 2242
         description: "User-defined key/value metadata."
2251 2243
         type: "object"
... ...
@@ -2098,14 +2098,6 @@ definitions:
2098 2098
         format: "int64"
2099 2099
         x-nullable: false
2100 2100
         example: 1239828
2101
-      VirtualSize:
2102
-        description: |
2103
-          Total size of the image including all layers it is composed of.
2104
-
2105
-          Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead.
2106
-        type: "integer"
2107
-        format: "int64"
2108
-        example: 1239828
2109 2101
       GraphDriver:
2110 2102
         $ref: "#/definitions/DriverData"
2111 2103
       RootFS:
... ...
@@ -2238,14 +2230,6 @@ definitions:
2238 2238
         format: "int64"
2239 2239
         x-nullable: false
2240 2240
         example: 1239828
2241
-      VirtualSize:
2242
-        description: |-
2243
-          Total size of the image including all layers it is composed of.
2244
-
2245
-          Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead.
2246
-        type: "integer"
2247
-        format: "int64"
2248
-        example: 172064416
2249 2241
       Labels:
2250 2242
         description: "User-defined key/value metadata."
2251 2243
         type: "object"
... ...
@@ -2175,14 +2175,6 @@ definitions:
2175 2175
         format: "int64"
2176 2176
         x-nullable: false
2177 2177
         example: 1239828
2178
-      VirtualSize:
2179
-        description: |
2180
-          Total size of the image including all layers it is composed of.
2181
-
2182
-          Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead.
2183
-        type: "integer"
2184
-        format: "int64"
2185
-        example: 1239828
2186 2178
       GraphDriver:
2187 2179
         $ref: "#/definitions/DriverData"
2188 2180
       RootFS:
... ...
@@ -2315,14 +2307,6 @@ definitions:
2315 2315
         format: "int64"
2316 2316
         x-nullable: false
2317 2317
         example: 1239828
2318
-      VirtualSize:
2319
-        description: |-
2320
-          Total size of the image including all layers it is composed of.
2321
-
2322
-          Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead.
2323
-        type: "integer"
2324
-        format: "int64"
2325
-        example: 172064416
2326 2318
       Labels:
2327 2319
         description: "User-defined key/value metadata."
2328 2320
         type: "object"
... ...
@@ -2175,14 +2175,6 @@ definitions:
2175 2175
         format: "int64"
2176 2176
         x-nullable: false
2177 2177
         example: 1239828
2178
-      VirtualSize:
2179
-        description: |
2180
-          Total size of the image including all layers it is composed of.
2181
-
2182
-          Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead.
2183
-        type: "integer"
2184
-        format: "int64"
2185
-        example: 1239828
2186 2178
       GraphDriver:
2187 2179
         $ref: "#/definitions/DriverData"
2188 2180
       RootFS:
... ...
@@ -2315,14 +2307,6 @@ definitions:
2315 2315
         format: "int64"
2316 2316
         x-nullable: false
2317 2317
         example: 1239828
2318
-      VirtualSize:
2319
-        description: |-
2320
-          Total size of the image including all layers it is composed of.
2321
-
2322
-          Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead.
2323
-        type: "integer"
2324
-        format: "int64"
2325
-        example: 172064416
2326 2318
       Labels:
2327 2319
         description: "User-defined key/value metadata."
2328 2320
         type: "object"
... ...
@@ -2002,14 +2002,6 @@ definitions:
2002 2002
         format: "int64"
2003 2003
         x-nullable: false
2004 2004
         example: 1239828
2005
-      VirtualSize:
2006
-        description: |
2007
-          Total size of the image including all layers it is composed of.
2008
-
2009
-          Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead.
2010
-        type: "integer"
2011
-        format: "int64"
2012
-        example: 1239828
2013 2005
       GraphDriver:
2014 2006
         $ref: "#/definitions/DriverData"
2015 2007
       RootFS:
... ...
@@ -2142,14 +2134,6 @@ definitions:
2142 2142
         format: "int64"
2143 2143
         x-nullable: false
2144 2144
         example: 1239828
2145
-      VirtualSize:
2146
-        description: |-
2147
-          Total size of the image including all layers it is composed of.
2148
-
2149
-          Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead.
2150
-        type: "integer"
2151
-        format: "int64"
2152
-        example: 172064416
2153 2145
       Labels:
2154 2146
         description: "User-defined key/value metadata."
2155 2147
         type: "object"
... ...
@@ -2007,14 +2007,6 @@ definitions:
2007 2007
         format: "int64"
2008 2008
         x-nullable: false
2009 2009
         example: 1239828
2010
-      VirtualSize:
2011
-        description: |
2012
-          Total size of the image including all layers it is composed of.
2013
-
2014
-          Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead.
2015
-        type: "integer"
2016
-        format: "int64"
2017
-        example: 1239828
2018 2010
       GraphDriver:
2019 2011
         $ref: "#/definitions/DriverData"
2020 2012
       RootFS:
... ...
@@ -2147,14 +2139,6 @@ definitions:
2147 2147
         format: "int64"
2148 2148
         x-nullable: false
2149 2149
         example: 1239828
2150
-      VirtualSize:
2151
-        description: |-
2152
-          Total size of the image including all layers it is composed of.
2153
-
2154
-          Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead.
2155
-        type: "integer"
2156
-        format: "int64"
2157
-        example: 172064416
2158 2150
       Labels:
2159 2151
         description: "User-defined key/value metadata."
2160 2152
         type: "object"
... ...
@@ -1894,14 +1894,6 @@ definitions:
1894 1894
         format: "int64"
1895 1895
         x-nullable: false
1896 1896
         example: 1239828
1897
-      VirtualSize:
1898
-        description: |
1899
-          Total size of the image including all layers it is composed of.
1900
-
1901
-          Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead.
1902
-        type: "integer"
1903
-        format: "int64"
1904
-        example: 1239828
1905 1897
       GraphDriver:
1906 1898
         x-nullable: true
1907 1899
         $ref: "#/definitions/DriverData"
... ...
@@ -2035,14 +2027,6 @@ definitions:
2035 2035
         format: "int64"
2036 2036
         x-nullable: false
2037 2037
         example: 1239828
2038
-      VirtualSize:
2039
-        description: |-
2040
-          Total size of the image including all layers it is composed of.
2041
-
2042
-          Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead.
2043
-        type: "integer"
2044
-        format: "int64"
2045
-        example: 172064416
2046 2038
       Labels:
2047 2039
         description: "User-defined key/value metadata."
2048 2040
         type: "object"
... ...
@@ -1894,14 +1894,6 @@ definitions:
1894 1894
         format: "int64"
1895 1895
         x-nullable: false
1896 1896
         example: 1239828
1897
-      VirtualSize:
1898
-        description: |
1899
-          Total size of the image including all layers it is composed of.
1900
-
1901
-          Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead.
1902
-        type: "integer"
1903
-        format: "int64"
1904
-        example: 1239828
1905 1897
       GraphDriver:
1906 1898
         x-nullable: true
1907 1899
         $ref: "#/definitions/DriverData"
... ...
@@ -2035,14 +2027,6 @@ definitions:
2035 2035
         format: "int64"
2036 2036
         x-nullable: false
2037 2037
         example: 1239828
2038
-      VirtualSize:
2039
-        description: |-
2040
-          Total size of the image including all layers it is composed of.
2041
-
2042
-          Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead.
2043
-        type: "integer"
2044
-        format: "int64"
2045
-        example: 172064416
2046 2038
       Labels:
2047 2039
         description: "User-defined key/value metadata."
2048 2040
         type: "object"