swagger: document play kube annotations param

The annotations parameter was not documented, add it.

Fixes #20784

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger
2023-11-27 15:42:42 +01:00
parent d1236f46fc
commit 386c8d6bfc

View File

@ -17,6 +17,10 @@ func (s *APIServer) registerKubeHandlers(r *mux.Router) error {
// description: Create and run pods based on a Kubernetes YAML file (pod or service kind). // description: Create and run pods based on a Kubernetes YAML file (pod or service kind).
// parameters: // parameters:
// - in: query // - in: query
// name: annotations
// type: string
// description: JSON encoded value of annotations (a map[string]string).
// - in: query
// name: logDriver // name: logDriver
// type: string // type: string
// description: Logging driver for the containers in the pod. // description: Logging driver for the containers in the pod.