When using the Swift5 or Swift6 OpenAPI generator with enumUnknownDefaultCase=true and a oneOf schema that…
When using the Swift5 or Swift6 OpenAPI generator with enumUnknownDefaultCase=true and a oneOf schema that…: a task in LegoFlow-SWE (Harbor dataset). Example A oneOf with variants PredicateBetween (discriminator value "between" ) and PredicateMatchesAny (value "matchesAny" ). When decoding JSON {…
The task
**Example** A `oneOf` with variants `PredicateBetween` (discriminator value `"between"`) and `PredicateMatchesAny` (value `"matchesAny"`). When decoding JSON `{ "type": "matchesAny", ... }`, the decoder first attempts `PredicateBetween`, whose `unknownDefaultOpenApi` case swallows the mismatched `"type"`, producing a…
Part of Lego-X/LegoFlow-SWE.