Skip to content

Commit a5d9619

Browse files
committed
api/docs: remove BuildCache.Parent field for API v1.42 and up
The BuildCache.Parent field was removed in API v1.42 in [moby/moby@e0db820]. While we had to keep the Go struct field around to backfil the field for older API versions, it's no longer part of API v1.42 and up (using the "omitempty" is just an implementation detail). This patch corrects the swagger files to match this. [moby/moby@e0db820]: moby@e0db820 Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 45ddf37 commit a5d9619

12 files changed

Lines changed: 0 additions & 96 deletions

File tree

api/docs/v1.42.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2619,14 +2619,6 @@ definitions:
26192619
description: |
26202620
Unique ID of the build cache record.
26212621
example: "ndlpt0hhvkqcdfkputsk4cq9c"
2622-
Parent:
2623-
description: |
2624-
ID of the parent build cache record.
2625-
2626-
> **Deprecated**: This field is deprecated, and omitted if empty.
2627-
type: "string"
2628-
x-nullable: true
2629-
example: ""
26302622
Parents:
26312623
description: |
26322624
List of parent build cache record IDs.

api/docs/v1.43.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2650,14 +2650,6 @@ definitions:
26502650
description: |
26512651
Unique ID of the build cache record.
26522652
example: "ndlpt0hhvkqcdfkputsk4cq9c"
2653-
Parent:
2654-
description: |
2655-
ID of the parent build cache record.
2656-
2657-
> **Deprecated**: This field is deprecated, and omitted if empty.
2658-
type: "string"
2659-
x-nullable: true
2660-
example: ""
26612653
Parents:
26622654
description: |
26632655
List of parent build cache record IDs.

api/docs/v1.44.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2661,14 +2661,6 @@ definitions:
26612661
description: |
26622662
Unique ID of the build cache record.
26632663
example: "ndlpt0hhvkqcdfkputsk4cq9c"
2664-
Parent:
2665-
description: |
2666-
ID of the parent build cache record.
2667-
2668-
> **Deprecated**: This field is deprecated, and omitted if empty.
2669-
type: "string"
2670-
x-nullable: true
2671-
example: ""
26722664
Parents:
26732665
description: |
26742666
List of parent build cache record IDs.

api/docs/v1.45.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2647,14 +2647,6 @@ definitions:
26472647
description: |
26482648
Unique ID of the build cache record.
26492649
example: "ndlpt0hhvkqcdfkputsk4cq9c"
2650-
Parent:
2651-
description: |
2652-
ID of the parent build cache record.
2653-
2654-
> **Deprecated**: This field is deprecated, and omitted if empty.
2655-
type: "string"
2656-
x-nullable: true
2657-
example: ""
26582650
Parents:
26592651
description: |
26602652
List of parent build cache record IDs.

api/docs/v1.46.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2693,14 +2693,6 @@ definitions:
26932693
description: |
26942694
Unique ID of the build cache record.
26952695
example: "ndlpt0hhvkqcdfkputsk4cq9c"
2696-
Parent:
2697-
description: |
2698-
ID of the parent build cache record.
2699-
2700-
> **Deprecated**: This field is deprecated, and omitted if empty.
2701-
type: "string"
2702-
x-nullable: true
2703-
example: ""
27042696
Parents:
27052697
description: |
27062698
List of parent build cache record IDs.

api/docs/v1.47.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2711,14 +2711,6 @@ definitions:
27112711
description: |
27122712
Unique ID of the build cache record.
27132713
example: "ndlpt0hhvkqcdfkputsk4cq9c"
2714-
Parent:
2715-
description: |
2716-
ID of the parent build cache record.
2717-
2718-
> **Deprecated**: This field is deprecated, and omitted if empty.
2719-
type: "string"
2720-
x-nullable: true
2721-
example: ""
27222714
Parents:
27232715
description: |
27242716
List of parent build cache record IDs.

api/docs/v1.48.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2812,14 +2812,6 @@ definitions:
28122812
description: |
28132813
Unique ID of the build cache record.
28142814
example: "ndlpt0hhvkqcdfkputsk4cq9c"
2815-
Parent:
2816-
description: |
2817-
ID of the parent build cache record.
2818-
2819-
> **Deprecated**: This field is deprecated, and omitted if empty.
2820-
type: "string"
2821-
x-nullable: true
2822-
example: ""
28232815
Parents:
28242816
description: |
28252817
List of parent build cache record IDs.

api/docs/v1.49.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2812,14 +2812,6 @@ definitions:
28122812
description: |
28132813
Unique ID of the build cache record.
28142814
example: "ndlpt0hhvkqcdfkputsk4cq9c"
2815-
Parent:
2816-
description: |
2817-
ID of the parent build cache record.
2818-
2819-
> **Deprecated**: This field is deprecated, and omitted if empty.
2820-
type: "string"
2821-
x-nullable: true
2822-
example: ""
28232815
Parents:
28242816
description: |
28252817
List of parent build cache record IDs.

api/docs/v1.50.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2639,14 +2639,6 @@ definitions:
26392639
description: |
26402640
Unique ID of the build cache record.
26412641
example: "ndlpt0hhvkqcdfkputsk4cq9c"
2642-
Parent:
2643-
description: |
2644-
ID of the parent build cache record.
2645-
2646-
> **Deprecated**: This field is deprecated, and omitted if empty.
2647-
type: "string"
2648-
x-nullable: true
2649-
example: ""
26502642
Parents:
26512643
description: |
26522644
List of parent build cache record IDs.

api/docs/v1.51.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2653,14 +2653,6 @@ definitions:
26532653
description: |
26542654
Unique ID of the build cache record.
26552655
example: "ndlpt0hhvkqcdfkputsk4cq9c"
2656-
Parent:
2657-
description: |
2658-
ID of the parent build cache record.
2659-
2660-
> **Deprecated**: This field is deprecated, and omitted if empty.
2661-
type: "string"
2662-
x-nullable: true
2663-
example: ""
26642656
Parents:
26652657
description: |
26662658
List of parent build cache record IDs.

0 commit comments

Comments
 (0)