summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/swagger
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2021-08-18 16:27:20 -0700
committerJhon Honce <jhonce@redhat.com>2021-08-19 07:57:54 -0700
commit0897946f60e7a7096497a8a24a17c2581a339743 (patch)
treeedf05bdb78806a25aa343e27b9521199629befaa /pkg/api/handlers/swagger
parent5a32946d61fd282d0801208ae414111626c79768 (diff)
downloadpodman-0897946f60e7a7096497a8a24a17c2581a339743.tar.gz
podman-0897946f60e7a7096497a8a24a17c2581a339743.tar.bz2
podman-0897946f60e7a7096497a8a24a17c2581a339743.zip
[NO TESTS NEEDED] Clean up swagger
* Removed defined by unused responses * Added missing body definitions * Updated header input definitions Outstanding issues: * Supporting body ContainerConfig for /commit endpoint Fixes #8577 Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg/api/handlers/swagger')
-rw-r--r--pkg/api/handlers/swagger/swagger.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/pkg/api/handlers/swagger/swagger.go b/pkg/api/handlers/swagger/swagger.go
index 83ff5914e..2296eea3a 100644
--- a/pkg/api/handlers/swagger/swagger.go
+++ b/pkg/api/handlers/swagger/swagger.go
@@ -152,13 +152,6 @@ type swagPodTopResponse struct {
}
}
-// List processes in pod
-// swagger:response DocsPodStatsResponse
-type swagPodStatsResponse struct {
- // in:body
- Body []*entities.PodStatsReport
-}
-
// Inspect container
// swagger:response LibpodInspectContainerResponse
type swagLibpodInspectContainerResponse struct {
@@ -183,12 +176,3 @@ type swagInspectPodResponse struct {
define.InspectPodData
}
}
-
-// Inspect volume
-// swagger:response InspectVolumeResponse
-type swagInspectVolumeResponse struct {
- // in:body
- Body struct {
- define.InspectVolumeData
- }
-}