summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/compat/swagger.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/api/handlers/compat/swagger.go')
-rw-r--r--pkg/api/handlers/compat/swagger.go27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkg/api/handlers/compat/swagger.go b/pkg/api/handlers/compat/swagger.go
new file mode 100644
index 000000000..cbd8e61fb
--- /dev/null
+++ b/pkg/api/handlers/compat/swagger.go
@@ -0,0 +1,27 @@
+package compat
+
+import (
+ "github.com/containers/libpod/pkg/api/handlers/utils"
+)
+
+// Create container
+// swagger:response ContainerCreateResponse
+type swagCtrCreateResponse struct {
+ // in:body
+ Body struct {
+ utils.ContainerCreateResponse
+ }
+}
+
+// Wait container
+// swagger:response ContainerWaitResponse
+type swagCtrWaitResponse struct {
+ // in:body
+ Body struct {
+ // container exit code
+ StatusCode int
+ Error struct {
+ Message string
+ }
+ }
+}