Following is the schema.
components:
schemas:
GroupHeader114:
type: object
properties:
Authstn:
type: object
oneOf:
- type: object
properties:
Cd:
type: string
enum:
- AUTH
- FDET
- type: object
properties:
Prtry:
type: string
enum:
- ABC
- DDD
Payload:
{
“GroupHeader114”: {
“Authstn”: {
“Cd”: “AUTH”,
“Prtry”: “DDD”
}
}
}
Results: Validation passed when it should not since it meets criteria of both schema. There seems to be bugs in the parser or validator.
Appreciate any help.
Tx
ps: Light-4J – 2.0.10