fix: discriminator property validation fails any/allOf cases when it shouldn't #2687
+126
−18
GitHub Advanced Security / CodeQL
succeeded
Jan 19, 2026 in 3s
1 new alert
New alerts in code changed by this pull request
- 1 note
See annotations below for details.
Annotations
Check notice on line 94 in src/Microsoft.OpenApi/Validations/Rules/OpenApiSchemaRules.cs
Code scanning / CodeQL
Missed ternary opportunity Note
Loading