mirror of
https://github.com/containers/podman.git
synced 2025-06-23 02:18:13 +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,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"
|
||||||
|
Reference in New Issue
Block a user