automation-tests/pkg/api/handlers/compat/swagger.go

28 lines
460 B
Go

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
}
}
}