summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshley Cui <acui@redhat.com>2020-07-21 10:03:25 -0400
committerMatthew Heon <matthew.heon@pm.me>2020-07-22 13:45:33 -0400
commit7461bafabba1dae736081de61baf6f7563af46d2 (patch)
treef21af8059613247c07f05a04aed6a7ea46e0a079
parenta5f5e45c4b08f2c74409194836d6fb7aa05fa4c1 (diff)
downloadpodman-7461bafabba1dae736081de61baf6f7563af46d2.tar.gz
podman-7461bafabba1dae736081de61baf6f7563af46d2.tar.bz2
podman-7461bafabba1dae736081de61baf6f7563af46d2.zip
Fix Generate API title/description
generate kube title and descritopn was same as play kube for apiv2 docs Signed-off-by: Ashley Cui <acui@redhat.com>
-rw-r--r--pkg/api/server/register_generate.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/api/server/register_generate.go b/pkg/api/server/register_generate.go
index 82f1dc680..a1ab3f727 100644
--- a/pkg/api/server/register_generate.go
+++ b/pkg/api/server/register_generate.go
@@ -13,8 +13,8 @@ func (s *APIServer) registerGenerateHandlers(r *mux.Router) error {
// tags:
// - containers
// - pods
- // summary: Play a Kubernetes YAML file.
- // description: Create and run pods based on a Kubernetes YAML file (pod or service kind).
+ // summary: Generate a Kubernetes YAML file.
+ // description: Generate Kubernetes YAML based on a pod or container.
// parameters:
// - in: path
// name: name:.*