1
0
mirror of https://github.com/containers/podman.git synced 2026-02-05 06:45:31 +01:00

docs: add missing manifest parameter to build API endpoints

Add manifest parameter documentation to /libpod/build, and /libpod/local/build endpoints in OpenAPI spec.

Fixes: https://github.com/containers/podman/issues/27261

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
This commit is contained in:
Jan Rodák
2025-10-10 11:55:07 +02:00
parent 3e85b2ef8f
commit b2aefd4cf9

View File

@@ -492,7 +492,7 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// ---
// tags:
// - images (compat)
// summary: Create image
// summary: Build image
// description: Build an image from the given Dockerfile(s)
// parameters:
// - in: header
@@ -1494,7 +1494,7 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// ---
// tags:
// - images
// summary: Create image
// summary: Build image
// description: Build an image from the given Dockerfile(s)
// parameters:
// - in: header
@@ -1818,6 +1818,12 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// type: array
// items:
// 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:
// - application/json
// responses:
@@ -2166,6 +2172,12 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// type: array
// items:
// 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:
// - application/json
// responses: