summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/swagger.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-02-17 17:24:28 +0100
committerGitHub <noreply@github.com>2020-02-17 17:24:28 +0100
commit640b11f0028057ca2090d61c4e460c1afadb226c (patch)
tree797e7b98b6efe2b0bdb74e93146b53c798367308 /pkg/api/handlers/swagger.go
parentff0f8388138f7b66c4312db0e984f0bedcac2558 (diff)
parent93358ef915f639e52088b0f6aec52e77d3da0af7 (diff)
downloadpodman-640b11f0028057ca2090d61c4e460c1afadb226c.tar.gz
podman-640b11f0028057ca2090d61c4e460c1afadb226c.tar.bz2
podman-640b11f0028057ca2090d61c4e460c1afadb226c.zip
Merge pull request #5093 from openSUSE/image-tree
Refactor image tree for API usage
Diffstat (limited to 'pkg/api/handlers/swagger.go')
-rw-r--r--pkg/api/handlers/swagger.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkg/api/handlers/swagger.go b/pkg/api/handlers/swagger.go
index 10525bfc7..4ba123ba9 100644
--- a/pkg/api/handlers/swagger.go
+++ b/pkg/api/handlers/swagger.go
@@ -136,3 +136,12 @@ type swagInspectVolumeResponse struct {
libpod.InspectVolumeData
}
}
+
+// Image tree response
+// swagger:response LibpodImageTreeResponse
+type swagImageTreeResponse struct {
+ // in:body
+ Body struct {
+ ImageTreeResponse
+ }
+}