You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
Using
$ref: '#'
reports "unresolved ref" which is imho wrong as it should simply include the file again.The text was updated successfully, but these errors were encountered: