aboutsummaryrefslogtreecommitdiff
path: root/pkg/api/handlers/generic/swagger.go
blob: bfe527c4163833935fc74aa13ec9d8cd7926804a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package generic

import "github.com/containers/libpod/pkg/api/handlers"

// Create container
// swagger:response ContainerCreateResponse
type swagCtrCreateResponse struct {
	// in:body
	Body struct {
		handlers.ContainerCreateResponse
	}
}

// Wait container
// swagger:response ContainerWaitResponse
type swagCtrWaitResponse struct {
	// in:body
	Body struct {
		// container exit code
		StatusCode int
		Error      struct {
			Message string
		}
	}
}