Skip to content

api/docs: remove BuildCache.Parent field for API v1.42 and up#51179

Merged
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:fix_buildcache_parent_docs
Oct 14, 2025
Merged

api/docs: remove BuildCache.Parent field for API v1.42 and up#51179
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:fix_buildcache_parent_docs

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

The BuildCache.Parent field was removed in API v1.42 in 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.

- What I did

- How I did it

- How to verify it

- Human readable description for the release notes

- A picture of a cute animal (not mandatory but encouraged)

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]>
@thaJeztah thaJeztah merged commit 9c39c3e into moby:master Oct 14, 2025
72 checks passed
@thaJeztah thaJeztah deleted the fix_buildcache_parent_docs branch October 14, 2025 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants