summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/swagger.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-01-22 17:43:57 -0500
committerGitHub <noreply@github.com>2020-01-22 17:43:57 -0500
commitac3a6b80b0ccd2f9592110811ccf6fd844110b9e (patch)
tree5f788ecb4b9a1f412c7b7ae0d61bdf0a6765b513 /pkg/api/handlers/swagger.go
parent8b377a79c240e4480339358db3b87263ec6cfef3 (diff)
parentda1186ae639c8101f05e4350986fdab0b1bd3566 (diff)
downloadpodman-ac3a6b80b0ccd2f9592110811ccf6fd844110b9e.tar.gz
podman-ac3a6b80b0ccd2f9592110811ccf6fd844110b9e.tar.bz2
podman-ac3a6b80b0ccd2f9592110811ccf6fd844110b9e.zip
Merge pull request #4936 from jwhonce/wip/swagger2
[CI:DOCS] Enable swagger validation for each PR
Diffstat (limited to 'pkg/api/handlers/swagger.go')
-rw-r--r--pkg/api/handlers/swagger.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkg/api/handlers/swagger.go b/pkg/api/handlers/swagger.go
index 0db4e19b6..5509c1d46 100644
--- a/pkg/api/handlers/swagger.go
+++ b/pkg/api/handlers/swagger.go
@@ -96,9 +96,7 @@ type swagLibpodInspectContainerResponse struct {
// swagger:response ListPodsResponse
type swagListPodsResponse struct {
// in:body
- Body struct {
- libpod.PodInspect
- }
+ Body []libpod.PodInspect
}
// Inspect pod