mirror of
https://github.com/containers/podman.git
synced 2025-06-22 18:08:11 +08:00
Merge pull request #9117 from tmds/swagger_missing_schema_properties
[NO TESTS NEEDED] swagger: add missing schema properties
This commit is contained in:
@ -30,7 +30,8 @@ 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:
|
||||||
// $ref: "#/definitions/IDResponse"
|
// schema:
|
||||||
|
// $ref: "#/definitions/IDResponse"
|
||||||
// 400:
|
// 400:
|
||||||
// $ref: "#/responses/BadParamError"
|
// $ref: "#/responses/BadParamError"
|
||||||
// 404:
|
// 404:
|
||||||
@ -96,7 +97,8 @@ func (s *APIServer) registerManifestHandlers(r *mux.Router) error {
|
|||||||
// $ref: "#/definitions/ManifestAddOpts"
|
// $ref: "#/definitions/ManifestAddOpts"
|
||||||
// responses:
|
// responses:
|
||||||
// 200:
|
// 200:
|
||||||
// $ref: "#/definitions/IDResponse"
|
// schema:
|
||||||
|
// $ref: "#/definitions/IDResponse"
|
||||||
// 404:
|
// 404:
|
||||||
// $ref: "#/responses/NoSuchManifest"
|
// $ref: "#/responses/NoSuchManifest"
|
||||||
// 409:
|
// 409:
|
||||||
@ -122,7 +124,8 @@ func (s *APIServer) registerManifestHandlers(r *mux.Router) error {
|
|||||||
// description: image digest to be removed
|
// description: image digest to be removed
|
||||||
// responses:
|
// responses:
|
||||||
// 200:
|
// 200:
|
||||||
// $ref: "#/definitions/IDResponse"
|
// schema:
|
||||||
|
// $ref: "#/definitions/IDResponse"
|
||||||
// 400:
|
// 400:
|
||||||
// $ref: "#/responses/BadParamError"
|
// $ref: "#/responses/BadParamError"
|
||||||
// 404:
|
// 404:
|
||||||
@ -153,7 +156,8 @@ func (s *APIServer) registerManifestHandlers(r *mux.Router) error {
|
|||||||
// type: boolean
|
// type: boolean
|
||||||
// responses:
|
// responses:
|
||||||
// 200:
|
// 200:
|
||||||
// $ref: "#/definitions/IDResponse"
|
// schema:
|
||||||
|
// $ref: "#/definitions/IDResponse"
|
||||||
// 400:
|
// 400:
|
||||||
// $ref: "#/responses/BadParamError"
|
// $ref: "#/responses/BadParamError"
|
||||||
// 404:
|
// 404:
|
||||||
|
@ -40,7 +40,8 @@ func (s *APIServer) registerPodsHandlers(r *mux.Router) error {
|
|||||||
// $ref: "#/definitions/PodSpecGenerator"
|
// $ref: "#/definitions/PodSpecGenerator"
|
||||||
// responses:
|
// responses:
|
||||||
// 200:
|
// 200:
|
||||||
// $ref: "#/definitions/IdResponse"
|
// schema:
|
||||||
|
// $ref: "#/definitions/IdResponse"
|
||||||
// 400:
|
// 400:
|
||||||
// $ref: "#/responses/BadParamError"
|
// $ref: "#/responses/BadParamError"
|
||||||
// 409:
|
// 409:
|
||||||
|
Reference in New Issue
Block a user