fix: discriminator property validation fails any/allOf cases when it shouldn't #2686
GitHub Advanced Security / CodeQL
completed
Jan 19, 2026 in 3s
1 configuration not found
Warning: Code scanning may not have found all the alerts introduced by this pull request, because 1 configuration present on refs/heads/main was not found:
API upload
- ❓ <default>
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