mirror of
https://github.com/containers/podman.git
synced 2025-11-29 09:37:38 +08:00
Merge pull request #27263 from Honny1/fix-docs
docs: add missing manifest parameter to build API endpoints
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user