mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-10 10:55:46 +00: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:
parent
3e85b2ef8f
commit
b2aefd4cf9
1 changed files with 14 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue