Allow limit=0 on entity query requests

Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
Eric Peterson
2023-08-22 10:33:05 +02:00
parent 712d1118bf
commit 149361e816
3 changed files with 7 additions and 2 deletions
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Fix to the `limit` parameter on entity queries.
@@ -135,7 +135,7 @@ export const spec = {
required: false,
schema: {
type: 'integer',
minimum: 1,
minimum: 0,
},
},
orderField: {
@@ -90,7 +90,7 @@ components:
required: false
schema:
type: integer
minimum: 1
minimum: 0
orderField:
name: orderField
in: query