summaryrefslogtreecommitdiff
path: root/pkg/api/server/register_generate.go
diff options
context:
space:
mode:
authorAshley Cui <acui@redhat.com>2020-07-21 10:03:25 -0400
committerAshley Cui <acui@redhat.com>2020-07-21 10:03:25 -0400
commit5d25d1808ab74d3f4f379e485430ac6bd53656f2 (patch)
tree5ee5dd32da24c38b2a12299dd0bc9594853622ce /pkg/api/server/register_generate.go
parent17f9b80600bc008e7c0a4060ff3a6bb5eb56d0cc (diff)
downloadpodman-5d25d1808ab74d3f4f379e485430ac6bd53656f2.tar.gz
podman-5d25d1808ab74d3f4f379e485430ac6bd53656f2.tar.bz2
podman-5d25d1808ab74d3f4f379e485430ac6bd53656f2.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>
Diffstat (limited to 'pkg/api/server/register_generate.go')
-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:.*