summaryrefslogtreecommitdiff
path: root/pkg/api/server
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2020-01-17 09:41:40 -0600
committerChris Evich <cevich@redhat.com>2020-01-17 15:41:33 -0500
commit9be6f30a42a8737f7e853dc3333b627242a962ab (patch)
tree81de580baddb004e7cb18f1111f65577f13cdef8 /pkg/api/server
parentab7e1a4c400f4bdb47ab49a2a0c8ef9508c68e02 (diff)
downloadpodman-9be6f30a42a8737f7e853dc3333b627242a962ab.tar.gz
podman-9be6f30a42a8737f7e853dc3333b627242a962ab.tar.bz2
podman-9be6f30a42a8737f7e853dc3333b627242a962ab.zip
post-process swagger yaml for publish
Signed-off-by: baude <bbaude@redhat.com> Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'pkg/api/server')
-rw-r--r--pkg/api/server/register_containers.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkg/api/server/register_containers.go b/pkg/api/server/register_containers.go
index dbe194cd4..6f4222d8f 100644
--- a/pkg/api/server/register_containers.go
+++ b/pkg/api/server/register_containers.go
@@ -788,11 +788,13 @@ func (s *APIServer) RegisterContainersHandlers(r *mux.Router) error {
// '500':
// "$ref": "#/responses/InternalError"
r.HandleFunc(VersionedPath("/libpod/containers/{name:..*}/stats"), APIHandler(s.Context, generic.StatsContainer)).Methods(http.MethodGet)
- // swagger:operation GET /libpod/containers/{nameOrID}/top containers topContainer
+ // swagger:operation GET /libpod/containers/{nameOrID}/top libpod libpodTopContainer
//
// List processes running inside a container. Note
//
// ---
+ // tags:
+ // - containers
// parameters:
// - in: path
// name: nameOrID
@@ -810,7 +812,6 @@ func (s *APIServer) RegisterContainersHandlers(r *mux.Router) error {
// - application/json
// responses:
// '200':
- // description: no error
// "ref": "#/responses/DockerTopResponse"
// '404':
// "$ref": "#/responses/NoSuchContainer"