mirror of
https://github.com/containers/podman.git
synced 2025-06-22 01:48:54 +08:00
Fix swagger documentation
* ContainerKillLibpod "signal" query default is SIGKILL. * ContainerListLibpod "namespace" query is failed to show. * SecretListLibpod parameters is duplicated. * SecretList parameters is duplicated. [NO NEW TESTS NEEDED] Signed-off-by: Toshiki Sonoda <sonoda.toshiki@fujitsu.com>
This commit is contained in:
@ -212,7 +212,6 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error {
|
||||
// - in: query
|
||||
// name: signal
|
||||
// type: string
|
||||
// default: TERM
|
||||
// description: signal to be sent to container
|
||||
// default: SIGKILL
|
||||
// produces:
|
||||
@ -723,6 +722,7 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error {
|
||||
// type: boolean
|
||||
// description: Include namespace information
|
||||
// default: false
|
||||
// - in: query
|
||||
// name: pod
|
||||
// type: boolean
|
||||
// default: false
|
||||
|
@ -54,7 +54,6 @@ func (s *APIServer) registerSecretHandlers(r *mux.Router) error {
|
||||
// - `id=[id]` Matches for full or partial ID.
|
||||
// produces:
|
||||
// - application/json
|
||||
// parameters:
|
||||
// responses:
|
||||
// '200':
|
||||
// "$ref": "#/responses/SecretListResponse"
|
||||
@ -128,7 +127,6 @@ func (s *APIServer) registerSecretHandlers(r *mux.Router) error {
|
||||
// - `id=[id]` Matches for full or partial ID.
|
||||
// produces:
|
||||
// - application/json
|
||||
// parameters:
|
||||
// responses:
|
||||
// '200':
|
||||
// "$ref": "#/responses/SecretListCompatResponse"
|
||||
|
Reference in New Issue
Block a user