Merge pull request #27263 from Honny1/fix-docs

docs: add missing manifest parameter to build API endpoints
This commit is contained in:
openshift-merge-bot[bot]
2025-10-22 15:14:14 +00:00
committed by GitHub

View File

@@ -492,7 +492,7 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// --- // ---
// tags: // tags:
// - images (compat) // - images (compat)
// summary: Create image // summary: Build image
// description: Build an image from the given Dockerfile(s) // description: Build an image from the given Dockerfile(s)
// parameters: // parameters:
// - in: header // - in: header
@@ -1494,7 +1494,7 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// --- // ---
// tags: // tags:
// - images // - images
// summary: Create image // summary: Build image
// description: Build an image from the given Dockerfile(s) // description: Build an image from the given Dockerfile(s)
// parameters: // parameters:
// - in: header // - in: header
@@ -1818,6 +1818,12 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// type: array // type: array
// items: // items:
// type: string // type: string
// - in: query
// name: manifest
// type: string
// default:
// description: |
// Add the image to the specified manifest list. Creates a manifest list if it does not exist.
// produces: // produces:
// - application/json // - application/json
// responses: // responses:
@@ -2166,6 +2172,12 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// type: array // type: array
// items: // items:
// type: string // type: string
// - in: query
// name: manifest
// type: string
// default:
// description: |
// Add the image to the specified manifest list. Creates a manifest list if it does not exist.
// produces: // produces:
// - application/json // - application/json
// responses: // responses: