Skip to content

Commit 08c670b

Browse files
Merge pull request #27263 from Honny1/fix-docs
docs: add missing manifest parameter to build API endpoints
2 parents 4a2e52f + b2aefd4 commit 08c670b

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

pkg/api/server/register_images.go

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
492492
// ---
493493
// tags:
494494
// - images (compat)
495-
// summary: Create image
495+
// summary: Build image
496496
// description: Build an image from the given Dockerfile(s)
497497
// parameters:
498498
// - in: header
@@ -1494,7 +1494,7 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
14941494
// ---
14951495
// tags:
14961496
// - images
1497-
// summary: Create image
1497+
// summary: Build image
14981498
// description: Build an image from the given Dockerfile(s)
14991499
// parameters:
15001500
// - in: header
@@ -1818,6 +1818,12 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
18181818
// type: array
18191819
// items:
18201820
// type: string
1821+
// - in: query
1822+
// name: manifest
1823+
// type: string
1824+
// default:
1825+
// description: |
1826+
// Add the image to the specified manifest list. Creates a manifest list if it does not exist.
18211827
// produces:
18221828
// - application/json
18231829
// responses:
@@ -2166,6 +2172,12 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
21662172
// type: array
21672173
// items:
21682174
// type: string
2175+
// - in: query
2176+
// name: manifest
2177+
// type: string
2178+
// default:
2179+
// description: |
2180+
// Add the image to the specified manifest list. Creates a manifest list if it does not exist.
21692181
// produces:
21702182
// - application/json
21712183
// responses:

0 commit comments

Comments
 (0)