From e9a8a81a8937c91cc4a89d1f8babc02d6db8ce3d Mon Sep 17 00:00:00 2001 From: "Bolton, William" Date: Tue, 30 Mar 2021 15:28:51 -0400 Subject: [PATCH] [#177567198] fix list credentials response (#10) --- api/swagger.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/api/swagger.yaml b/api/swagger.yaml index 8cbb660..a4d6992 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -122,9 +122,12 @@ paths: "200": description: "List of credentials" schema: - type: "array" - items: - $ref: "#/definitions/Credentials" + type: "object" + properties: + credentials: + type: "array" + items: + $ref: "#/definitions/Credentials" "401": description: "Unauthorized" schema: @@ -332,5 +335,3 @@ definitions: import: package: time alias: time - -