Remove UserEntity model
Signed-off-by: solimant <solimant@users.noreply.github.com>
This commit is contained in:
@@ -815,42 +815,6 @@ components:
|
||||
- totalItems
|
||||
- pageInfo
|
||||
additionalProperties: false
|
||||
UserEntity:
|
||||
$ref: '#/components/schemas/UserEntityV1alpha1'
|
||||
UserEntityV1alpha1:
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/Entity'
|
||||
- type: object
|
||||
properties:
|
||||
apiVersion:
|
||||
type: string
|
||||
enum:
|
||||
- 'backstage.io/v1alpha1'
|
||||
- 'backstage.io/v1beta1'
|
||||
kind:
|
||||
type: string
|
||||
enum:
|
||||
- 'User'
|
||||
spec:
|
||||
type: object
|
||||
properties:
|
||||
profile:
|
||||
type: object
|
||||
properties:
|
||||
displayName:
|
||||
type: string
|
||||
email:
|
||||
type: string
|
||||
picture:
|
||||
type: string
|
||||
memberOf:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
required:
|
||||
- apiVersion
|
||||
- kind
|
||||
description: Backstage catalog User kind Entity.
|
||||
securitySchemes:
|
||||
JWT:
|
||||
type: http
|
||||
|
||||
@@ -514,8 +514,10 @@ components:
|
||||
type: object
|
||||
properties:
|
||||
entity:
|
||||
$ref: '../../../catalog-backend/src/schema/openapi.yaml#/components/schemas/UserEntity'
|
||||
type: object
|
||||
properties: {}
|
||||
description: The decorated entity from the Catalog
|
||||
additionalProperties: {}
|
||||
ref:
|
||||
type: string
|
||||
description: An entity ref for the author of the task
|
||||
|
||||
Reference in New Issue
Block a user