summaryrefslogtreecommitdiff
path: root/pkg/domain
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2022-03-22 15:20:30 -0700
committerJhon Honce <jhonce@redhat.com>2022-03-22 15:20:30 -0700
commit41a6dd36f66564315bc200a790b91de994f6f9e4 (patch)
tree398076d09bdffb4788fd9fb3575d0e9364ef56c3 /pkg/domain
parentc840f64e419813f389d88e16294ce916aaf31957 (diff)
downloadpodman-41a6dd36f66564315bc200a790b91de994f6f9e4.tar.gz
podman-41a6dd36f66564315bc200a790b91de994f6f9e4.tar.bz2
podman-41a6dd36f66564315bc200a790b91de994f6f9e4.zip
Update swagger to improve compatibility
[NO NEW TESTS NEEDED] Improve swagger and handler code compatibility. Fixes #12804 Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg/domain')
-rw-r--r--pkg/domain/entities/types.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/domain/entities/types.go b/pkg/domain/entities/types.go
index 4d9ced900..bed3183e9 100644
--- a/pkg/domain/entities/types.go
+++ b/pkg/domain/entities/types.go
@@ -20,7 +20,7 @@ type Volume struct {
}
type Report struct {
- Id []string //nolint
+ Id []string // nolint
Err map[string]error
}
@@ -98,8 +98,10 @@ type EventsOptions struct {
// ContainerCreateResponse is the response struct for creating a container
type ContainerCreateResponse struct {
// ID of the container created
+ // required: true
ID string `json:"Id"`
// Warnings during container creation
+ // required: true
Warnings []string `json:"Warnings"`
}