I did not find the solution in the documentation, this is my yaml object:
type: object
properties:
attrKey:
$ref: '../schemas/MyEnum.yaml'
required:
- attrKey
MyEnum.yaml:
type: string
enum:
- A
- B
- C
- D
How to make for example only C value from enum as not required but use only this one enum, please?