swagger: top: remove "Docker" from the identifiers

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
Valentin Rothberg
2020-03-27 15:47:41 +01:00
parent 9812804f75
commit edec8ccf3f
3 changed files with 14 additions and 5 deletions

View File

@ -429,7 +429,7 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error {
// - application/json
// responses:
// 200:
// $ref: "#/responses/DockerTopResponse"
// $ref: "#/responses/DocsContainerTopResponse"
// 404:
// $ref: "#/responses/NoSuchContainer"
// 500:
@ -1041,7 +1041,7 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error {
// - application/json
// responses:
// 200:
// $ref: "#/responses/DockerTopResponse"
// $ref: "#/responses/DocsContainerTopResponse"
// 404:
// $ref: "#/responses/NoSuchContainer"
// 500:

View File

@ -288,7 +288,7 @@ func (s *APIServer) registerPodsHandlers(r *mux.Router) error {
// description: arguments to pass to ps such as aux. Requires ps(1) to be installed in the container if no ps(1) compatible AIX descriptors are used.
// responses:
// 200:
// $ref: "#/responses/DockerTopResponse"
// $ref: "#/responses/DocsPodTopResponse"
// 404:
// $ref: "#/responses/NoSuchContainer"
// 500: