From c490210c6a5d1abef10e84867d6ea6fe51e124be Mon Sep 17 00:00:00 2001 From: Barak Amar Date: Sun, 29 Oct 2023 12:41:04 +0200 Subject: [PATCH] External API authorization allow empty value for pagination params (#6894) * External API authorization allow empty value for pagination params * allow empty id and email for list users --- api/authorization.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/api/authorization.yml b/api/authorization.yml index 252b4bb6940..b263732f611 100644 --- a/api/authorization.yml +++ b/api/authorization.yml @@ -24,6 +24,7 @@ components: in: query name: prefix description: return items prefixed with this value + allowEmptyValue: true schema: type: string @@ -31,6 +32,7 @@ components: in: query name: after description: return items after this value + allowEmptyValue: true schema: type: string @@ -353,11 +355,13 @@ paths: - $ref: "#/components/parameters/PaginationAmount" - in: query name: id + allowEmptyValue: true schema: type: integer format: int64 - in: query name: email + allowEmptyValue: true schema: type: string - in: query @@ -1101,4 +1105,4 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/VersionConfig" \ No newline at end of file + $ref: "#/components/schemas/VersionConfig"