summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/swagger.go
diff options
context:
space:
mode:
authorSascha Grunert <sgrunert@suse.com>2020-02-05 12:07:44 +0100
committerSascha Grunert <sgrunert@suse.com>2020-02-17 11:12:35 +0100
commit93358ef915f639e52088b0f6aec52e77d3da0af7 (patch)
tree797e7b98b6efe2b0bdb74e93146b53c798367308 /pkg/api/handlers/swagger.go
parentff0f8388138f7b66c4312db0e984f0bedcac2558 (diff)
downloadpodman-93358ef915f639e52088b0f6aec52e77d3da0af7.tar.gz
podman-93358ef915f639e52088b0f6aec52e77d3da0af7.tar.bz2
podman-93358ef915f639e52088b0f6aec52e77d3da0af7.zip
Refactor image tree for API usage
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
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
+ }
+}