mirror of
https://github.com/containers/podman.git
synced 2025-05-21 09:05:56 +08:00

The third pass of corrections for the APIv2. Signed-off-by: Brent Baude <bbaude@redhat.com>
26 lines
453 B
Go
26 lines
453 B
Go
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
|
|
}
|
|
}
|
|
}
|