Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define JSON schema's Type property as a flaggable enum to allow storing multiple values #1897

Merged
merged 19 commits into from
Oct 31, 2024

Add null check

5eb0010
Select commit
Loading
Failed to load commit list.
Merged

Define JSON schema's Type property as a flaggable enum to allow storing multiple values #1897

Add null check
5eb0010
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL succeeded Oct 30, 2024 in 5s

1 new alert

New alerts in code changed by this pull request

  • 1 warning

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 901 in src/Microsoft.OpenApi/Models/OpenApiSchema.cs

See this annotation in the file changed.

Code scanning / CodeQL

Dereferenced variable may be null Warning

Variable
schemaType
may be null at this access because it has a nullable type.