summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/swagger/swagger.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/api/handlers/swagger/swagger.go')
-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
+ }
+}