fix catalog openapi schema for facets

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2023-08-21 11:00:46 +02:00
parent 7b66744e23
commit 41d1b2d628
3 changed files with 12 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Fix OpenAPI schema for the facets endpoint
@@ -1087,7 +1087,10 @@ export const spec = {
name: 'facet',
required: true,
schema: {
type: 'string',
type: 'array',
items: {
type: 'string',
},
},
},
{
@@ -819,7 +819,9 @@ paths:
name: facet
required: true
schema:
type: string
type: array
items:
type: string
- $ref: '#/components/parameters/filter'
/locations:
post: