fix catalog openapi schema for facets
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user