mirror of
https://github.com/containers/podman.git
synced 2025-08-02 09:12:36 +08:00
Review corrections pass #2
Add API review comments to correct documentation and endpoints. Also, add a libpode prune method to reduce code duplication. Only used right now for the API but when the remote client is wired, we will switch over there too. Signed-off-by: Brent Baude <bbaude@redhat.com>
This commit is contained in:
@ -50,15 +50,6 @@ type swagInternalError struct {
|
||||
}
|
||||
}
|
||||
|
||||
// Generic error
|
||||
// swagger:response GenericError
|
||||
type swagGenericError struct {
|
||||
// in:body
|
||||
Body struct {
|
||||
utils.ErrorModel
|
||||
}
|
||||
}
|
||||
|
||||
// Conflict error in operation
|
||||
// swagger:response ConflictError
|
||||
type swagConflictError struct {
|
||||
@ -130,21 +121,6 @@ type swagListContainers struct {
|
||||
}
|
||||
}
|
||||
|
||||
// To be determined
|
||||
// swagger:response tbd
|
||||
type swagTBD struct {
|
||||
}
|
||||
|
||||
// Success
|
||||
// swagger:response
|
||||
type swag struct {
|
||||
// in:body
|
||||
Body struct {
|
||||
// example: OK
|
||||
ok string
|
||||
}
|
||||
}
|
||||
|
||||
// Success
|
||||
// swagger:response
|
||||
type ok struct {
|
||||
|
Reference in New Issue
Block a user