summaryrefslogtreecommitdiff
path: root/pkg/api/server/register_manifest.go
diff options
context:
space:
mode:
authorTom Deseyn <tom.deseyn@gmail.com>2021-01-27 08:52:14 +0100
committerTom Deseyn <tom.deseyn@gmail.com>2021-02-22 09:27:41 +0100
commita2e1b3eabc111bce63dcb768193041bab2c58358 (patch)
treeef3cc9128d01564c524b2d09b7422d8218796b52 /pkg/api/server/register_manifest.go
parent4a6582bd86572f0336c82577a0a4f315376c7179 (diff)
downloadpodman-a2e1b3eabc111bce63dcb768193041bab2c58358.tar.gz
podman-a2e1b3eabc111bce63dcb768193041bab2c58358.tar.bz2
podman-a2e1b3eabc111bce63dcb768193041bab2c58358.zip
swagger: add missing schema properties
NO_TESTS_NEEDED Signed-off-by: Tom Deseyn <tom.deseyn@gmail.com>
Diffstat (limited to 'pkg/api/server/register_manifest.go')
-rw-r--r--pkg/api/server/register_manifest.go12
1 files changed, 8 insertions, 4 deletions
diff --git a/pkg/api/server/register_manifest.go b/pkg/api/server/register_manifest.go
index eefcc396e..feb973436 100644
--- a/pkg/api/server/register_manifest.go
+++ b/pkg/api/server/register_manifest.go
@@ -30,7 +30,8 @@ func (s *APIServer) registerManifestHandlers(r *mux.Router) error {
// description: add all contents if given list
// responses:
// 200:
- // $ref: "#/definitions/IDResponse"
+ // schema:
+ // $ref: "#/definitions/IDResponse"
// 400:
// $ref: "#/responses/BadParamError"
// 404:
@@ -96,7 +97,8 @@ func (s *APIServer) registerManifestHandlers(r *mux.Router) error {
// $ref: "#/definitions/ManifestAddOpts"
// responses:
// 200:
- // $ref: "#/definitions/IDResponse"
+ // schema:
+ // $ref: "#/definitions/IDResponse"
// 404:
// $ref: "#/responses/NoSuchManifest"
// 409:
@@ -122,7 +124,8 @@ func (s *APIServer) registerManifestHandlers(r *mux.Router) error {
// description: image digest to be removed
// responses:
// 200:
- // $ref: "#/definitions/IDResponse"
+ // schema:
+ // $ref: "#/definitions/IDResponse"
// 400:
// $ref: "#/responses/BadParamError"
// 404:
@@ -153,7 +156,8 @@ func (s *APIServer) registerManifestHandlers(r *mux.Router) error {
// type: boolean
// responses:
// 200:
- // $ref: "#/definitions/IDResponse"
+ // schema:
+ // $ref: "#/definitions/IDResponse"
// 400:
// $ref: "#/responses/BadParamError"
// 404: