Skip to content

Commit

Permalink
External API authorization allow empty value for pagination params (#…
Browse files Browse the repository at this point in the history
…6894)

* External API authorization allow empty value for pagination params

* allow empty id and email for list users
  • Loading branch information
nopcoder authored Oct 29, 2023
1 parent f4ee2f9 commit c490210
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion api/authorization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ components:
in: query
name: prefix
description: return items prefixed with this value
allowEmptyValue: true
schema:
type: string

PaginationAfter:
in: query
name: after
description: return items after this value
allowEmptyValue: true
schema:
type: string

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -1101,4 +1105,4 @@ paths:
content:
application/json:
schema:
$ref: "#/components/schemas/VersionConfig"
$ref: "#/components/schemas/VersionConfig"

0 comments on commit c490210

Please sign in to comment.