From f6cf0bb60bea4f1d1937cb9be0a458d0ef34b445 Mon Sep 17 00:00:00 2001 From: Jorden_Reuter Date: Mon, 19 Feb 2024 09:02:16 +0100 Subject: [PATCH] fix: fixed openapi pageresults --- .../openapi/onecx-permission-internal-openapi.yaml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/main/openapi/onecx-permission-internal-openapi.yaml b/src/main/openapi/onecx-permission-internal-openapi.yaml index 5bf0a7c..7fbe679 100644 --- a/src/main/openapi/onecx-permission-internal-openapi.yaml +++ b/src/main/openapi/onecx-permission-internal-openapi.yaml @@ -222,9 +222,7 @@ paths: content: application/json: schema: - type: array - items: - $ref: '#/components/schemas/RolePageResult' + $ref: '#/components/schemas/RolePageResult' 400: description: Bad request content: @@ -249,9 +247,7 @@ paths: content: application/json: schema: - type: array - items: - $ref: '#/components/schemas/PermissionPageResult' + $ref: '#/components/schemas/PermissionPageResult' 400: description: Bad request content: @@ -276,9 +272,7 @@ paths: content: application/json: schema: - type: array - items: - $ref: '#/components/schemas/ApplicationPageResult' + $ref: '#/components/schemas/ApplicationPageResult' 400: description: Bad request content: