Merge pull request #19495 from backstage/catalog/fix-limit

[Catalog] Fix `limit=0` on entity query requests
This commit is contained in:
Fredrik Adelöw
2023-08-22 11:35:01 +02:00
committed by GitHub
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