Add support for json schema to API docs

Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
This commit is contained in:
Oliver Sand
2021-03-30 17:23:24 +02:00
parent bacba8cbcc
commit cec7fb9b37
13 changed files with 1238 additions and 6 deletions
@@ -5,6 +5,7 @@ metadata:
description: A collection of all Backstage example APIs
spec:
targets:
- ./apis/config-schema-api.yaml
- ./apis/hello-world-api.yaml
- ./apis/petstore-api.yaml
- ./apis/spotify-api.yaml
@@ -0,0 +1,11 @@
apiVersion: backstage.io/v1alpha1
kind: API
metadata:
name: config-schema
description: A Backstage config schemas.
spec:
type: jsonschema
lifecycle: production
owner: team-a
definition:
$text: https://github.com/backstage/backstage/blob/master/plugins/config-schema/dev/example-schema.json