summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/generic/swagger.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/api/handlers/generic/swagger.go')
-rw-r--r--pkg/api/handlers/generic/swagger.go24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkg/api/handlers/generic/swagger.go b/pkg/api/handlers/generic/swagger.go
new file mode 100644
index 000000000..8df961b94
--- /dev/null
+++ b/pkg/api/handlers/generic/swagger.go
@@ -0,0 +1,24 @@
+package generic
+
+// Create container
+// swagger:response ContainerCreateResponse
+type swagCtrCreateResponse struct {
+ // in:body
+ Body struct {
+ ContainerCreateResponse
+ }
+}
+
+// Wait container
+// swagger:response ContainerWaitResponse
+type swagCtrWaitResponse struct {
+ // in:body
+ Body struct {
+ // container exit code
+ StatusCode int
+ error message
+ Error struct {
+ Message string
+ }
+ }
+}