summaryrefslogtreecommitdiff
path: root/pkg/api/handlers
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-09-10 10:52:48 -0400
committerGitHub <noreply@github.com>2021-09-10 10:52:48 -0400
commitcf4a7b8d37c48bc9ccf8e5a2fdc9b005113fd847 (patch)
tree14a365d5eb0a29c0f6e5ad153280a549c56ff24d /pkg/api/handlers
parent580ac4c6abc336d984f3a09940a4ef3006f0e6a7 (diff)
parentf87f27ddc865c8feee2d5a6c0e2129d6efa9cc22 (diff)
downloadpodman-cf4a7b8d37c48bc9ccf8e5a2fdc9b005113fd847.tar.gz
podman-cf4a7b8d37c48bc9ccf8e5a2fdc9b005113fd847.tar.bz2
podman-cf4a7b8d37c48bc9ccf8e5a2fdc9b005113fd847.zip
Merge pull request #11516 from jelly/swagger/containerstats
[CI:DOCS] Add response to /libpod/containers/stats documentation
Diffstat (limited to 'pkg/api/handlers')
-rw-r--r--pkg/api/handlers/swagger/swagger.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkg/api/handlers/swagger/swagger.go b/pkg/api/handlers/swagger/swagger.go
index 2296eea3a..9844839b7 100644
--- a/pkg/api/handlers/swagger/swagger.go
+++ b/pkg/api/handlers/swagger/swagger.go
@@ -176,3 +176,12 @@ type swagInspectPodResponse struct {
define.InspectPodData
}
}
+
+// Get stats for one or more containers
+// swagger:response ContainerStats
+type swagContainerStatsResponse struct {
+ // in:body
+ Body struct {
+ define.ContainerStats
+ }
+}