diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-02-22 11:03:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-22 11:03:14 -0500 |
commit | cb3af5b05bc6c09c5fb905c8fb99c46e493a8b55 (patch) | |
tree | 19e813189709514b2a0ae3affa75bae237a31bb8 /pkg/api | |
parent | 6fbf73ed8bd34738f3f901df1e5d3b592a9c3354 (diff) | |
parent | a2e1b3eabc111bce63dcb768193041bab2c58358 (diff) | |
download | podman-cb3af5b05bc6c09c5fb905c8fb99c46e493a8b55.tar.gz podman-cb3af5b05bc6c09c5fb905c8fb99c46e493a8b55.tar.bz2 podman-cb3af5b05bc6c09c5fb905c8fb99c46e493a8b55.zip |
Merge pull request #9117 from tmds/swagger_missing_schema_properties
[NO TESTS NEEDED] swagger: add missing schema properties
Diffstat (limited to 'pkg/api')
-rw-r--r-- | pkg/api/server/register_manifest.go | 12 | ||||
-rw-r--r-- | pkg/api/server/register_pods.go | 3 |
2 files changed, 10 insertions, 5 deletions
diff --git a/pkg/api/server/register_manifest.go b/pkg/api/server/register_manifest.go index 6893f5e39..c2da5156b 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: diff --git a/pkg/api/server/register_pods.go b/pkg/api/server/register_pods.go index e211b0941..949bf80e2 100644 --- a/pkg/api/server/register_pods.go +++ b/pkg/api/server/register_pods.go @@ -40,7 +40,8 @@ func (s *APIServer) registerPodsHandlers(r *mux.Router) error { // $ref: "#/definitions/PodSpecGenerator" // responses: // 200: - // $ref: "#/definitions/IdResponse" + // schema: + // $ref: "#/definitions/IdResponse" // 400: // $ref: "#/responses/BadParamError" // 409: |