From da1186ae639c8101f05e4350986fdab0b1bd3566 Mon Sep 17 00:00:00 2001 From: Jhon Honce Date: Wed, 22 Jan 2020 10:41:35 -0700 Subject: Enable swagger validation for each PR * Update swagger:operation's to pass validation * 'name' path parameter now used throughout API * Added #/response/ok for 200 returns, TBD values have been replaced with legal values. Signed-off-by: Jhon Honce --- pkg/api/handlers/swagger.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'pkg/api/handlers/swagger.go') diff --git a/pkg/api/handlers/swagger.go b/pkg/api/handlers/swagger.go index 0db4e19b6..5509c1d46 100644 --- a/pkg/api/handlers/swagger.go +++ b/pkg/api/handlers/swagger.go @@ -96,9 +96,7 @@ type swagLibpodInspectContainerResponse struct { // swagger:response ListPodsResponse type swagListPodsResponse struct { // in:body - Body struct { - libpod.PodInspect - } + Body []libpod.PodInspect } // Inspect pod -- cgit v1.2.3-54-g00ecf