mirror of
https://github.com/containers/podman.git
synced 2025-06-04 13:08:55 +08:00

adhere closer to the spec by using description and summary fields and also ensuring that the id is unique to avoid collision between generic and libpod endpoints. also, make swagger output work with redoc which seems to display our information better for our needs. Signed-off-by: baude <bbaude@redhat.com>
10 lines
263 B
Go
10 lines
263 B
Go
package generic
|
|
|
|
// ContainerCreateResponse is the response struct for creating a container
|
|
type ContainerCreateResponse struct {
|
|
// ID of the container created
|
|
Id string `json:"Id"`
|
|
// Warnings during container creation
|
|
Warnings []string `json:"Warnings"`
|
|
}
|