-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Describe Request:
When validating entries with Kind: API
, the validator only checks for a string
type on the spec.definition
field at the moment. The backstage model however has added limited support for object types on the definition field when the keys are one of the following:
$json
$yaml
$text
Examples:
From the Backstage Documentation
apiVersion: backstage.io/v1alpha1
kind: API
metadata:
name: petstore
description: The Petstore API
spec:
type: openapi
lifecycle: production
owner: petstore@example.com
definition:
$text: https://petstore.swagger.io/v2/swagger.json
Supporting Documentation Links:
Metadata
Metadata
Assignees
Labels
No labels