-
-
Notifications
You must be signed in to change notification settings - Fork 486
Closed
Description
Including a file "schema/config_param.yml" hangs the validator.
I was able to define a recursion in the top level comonents.schema section but not inside an included schema file.
discriminator:
propertyName: "type"
oneOf:
- title: "text"
description: |
type "text": **text** is a simple string.
type: object
required:
- type
properties:
default:
type: string
position:
type: number
format: int32
minimum: 0
description: |
Position of the parameter in the output.
name:
type: string
description: "name of the parameter as used in the API"
- title: "table"
description: |
type "table"
type: object
required:
- type
properties:
default:
type: string
position:
type: number
format: int32
minimum: 0
description: |
Position of the parameter in the output.
name:
type: string
description: "name of the parameter as used in the API"
fields:
type: array
items:
$ref: 'config_param.yml'
Using $ref: '#' reports "unresolved ref" which is imho wrong as it should simply include the file again.
Metadata
Metadata
Assignees
Labels
No labels