mirror of https://github.com/containers/podman.git
swagger: add missing schema properties
NO_TESTS_NEEDED Signed-off-by: Tom Deseyn <tom.deseyn@gmail.com>
This commit is contained in:
parent
4a6582bd86
commit
a2e1b3eabc
|
@ -30,6 +30,7 @@ func (s *APIServer) registerManifestHandlers(r *mux.Router) error {
|
||||||
// description: add all contents if given list
|
// description: add all contents if given list
|
||||||
// responses:
|
// responses:
|
||||||
// 200:
|
// 200:
|
||||||
|
// schema:
|
||||||
// $ref: "#/definitions/IDResponse"
|
// $ref: "#/definitions/IDResponse"
|
||||||
// 400:
|
// 400:
|
||||||
// $ref: "#/responses/BadParamError"
|
// $ref: "#/responses/BadParamError"
|
||||||
|
@ -96,6 +97,7 @@ func (s *APIServer) registerManifestHandlers(r *mux.Router) error {
|
||||||
// $ref: "#/definitions/ManifestAddOpts"
|
// $ref: "#/definitions/ManifestAddOpts"
|
||||||
// responses:
|
// responses:
|
||||||
// 200:
|
// 200:
|
||||||
|
// schema:
|
||||||
// $ref: "#/definitions/IDResponse"
|
// $ref: "#/definitions/IDResponse"
|
||||||
// 404:
|
// 404:
|
||||||
// $ref: "#/responses/NoSuchManifest"
|
// $ref: "#/responses/NoSuchManifest"
|
||||||
|
@ -122,6 +124,7 @@ func (s *APIServer) registerManifestHandlers(r *mux.Router) error {
|
||||||
// description: image digest to be removed
|
// description: image digest to be removed
|
||||||
// responses:
|
// responses:
|
||||||
// 200:
|
// 200:
|
||||||
|
// schema:
|
||||||
// $ref: "#/definitions/IDResponse"
|
// $ref: "#/definitions/IDResponse"
|
||||||
// 400:
|
// 400:
|
||||||
// $ref: "#/responses/BadParamError"
|
// $ref: "#/responses/BadParamError"
|
||||||
|
@ -153,6 +156,7 @@ func (s *APIServer) registerManifestHandlers(r *mux.Router) error {
|
||||||
// type: boolean
|
// type: boolean
|
||||||
// responses:
|
// responses:
|
||||||
// 200:
|
// 200:
|
||||||
|
// schema:
|
||||||
// $ref: "#/definitions/IDResponse"
|
// $ref: "#/definitions/IDResponse"
|
||||||
// 400:
|
// 400:
|
||||||
// $ref: "#/responses/BadParamError"
|
// $ref: "#/responses/BadParamError"
|
||||||
|
|
|
@ -40,6 +40,7 @@ func (s *APIServer) registerPodsHandlers(r *mux.Router) error {
|
||||||
// $ref: "#/definitions/PodSpecGenerator"
|
// $ref: "#/definitions/PodSpecGenerator"
|
||||||
// responses:
|
// responses:
|
||||||
// 200:
|
// 200:
|
||||||
|
// schema:
|
||||||
// $ref: "#/definitions/IdResponse"
|
// $ref: "#/definitions/IdResponse"
|
||||||
// 400:
|
// 400:
|
||||||
// $ref: "#/responses/BadParamError"
|
// $ref: "#/responses/BadParamError"
|
||||||
|
|
Loading…
Reference in New Issue