Doubly Nested Discriminators (Issue
POST/discriminator-doubly-nested
Tests the full scenario from issue #1302 with doubly-nested discriminators:
- Outer level: allOf with discriminator on "type" selecting TypeA/TypeB/TypeC
- TypeA: has allOf with its own nested discriminator on "mode"
- TypeB: has allOf with its own nested discriminator on "mode"
- TypeC: has discriminator on "mode" at root level (NOT in allOf)
This tests:
- Discriminators nested in allOf are properly detected
- Inner discriminators work after selecting outer type
- TypeC pattern (discriminator at root) still works
Request
Responses
- 200
Successful response