summaryrefslogtreecommitdiff
path: root/pkg/api/server/swagger.go
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2020-05-08 10:16:14 -0700
committerJhon Honce <jhonce@redhat.com>2020-05-08 15:57:26 -0700
commit931bd5ace6d6efa19e0b123d8d70b273ea79d5ab (patch)
treeb60a06da9fcc73f66be53eae6db86db8342f7fab /pkg/api/server/swagger.go
parent5c7ac1ba7812a99e59251cf49f7fb2a9c2429e11 (diff)
downloadpodman-931bd5ace6d6efa19e0b123d8d70b273ea79d5ab.tar.gz
podman-931bd5ace6d6efa19e0b123d8d70b273ea79d5ab.tar.bz2
podman-931bd5ace6d6efa19e0b123d8d70b273ea79d5ab.zip
V2 Impliment tunnelled podman version
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg/api/server/swagger.go')
-rw-r--r--pkg/api/server/swagger.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkg/api/server/swagger.go b/pkg/api/server/swagger.go
index 75dcc71a6..e47f2cc2f 100644
--- a/pkg/api/server/swagger.go
+++ b/pkg/api/server/swagger.go
@@ -181,3 +181,12 @@ type swagHealthCheckRunResponse struct {
define.HealthCheckResults
}
}
+
+// Version
+// swagger:response Version
+type swagVersion struct {
+ // in:body
+ Body struct {
+ entities.SystemVersionReport
+ }
+}