Skip to content

feat/deep copy - #2990

Draft
Vincent Biret (baywet) wants to merge 3 commits into
mainfrom
feat/deep-copy
Draft

feat/deep copy#2990
Vincent Biret (baywet) wants to merge 3 commits into
mainfrom
feat/deep-copy

chore: adds xunit to cspell configuration

27be67d
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL completed Jul 23, 2026 in 8s

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

  • 8 warnings

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 712 in src/Microsoft.OpenApi/Models/OpenApiDeepCopyContext.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless type test Warning

There is no need to test whether an instance of
OpenApiSchema
is also an instance of
IOpenApiSchemaMissingProperties
- it always is.

Check warning on line 876 in src/Microsoft.OpenApi/Models/OpenApiDeepCopyContext.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless upcast Warning

There is no need to upcast from
OpenApiServer
to
Object
- the conversion can be done implicitly.

Check warning on line 877 in src/Microsoft.OpenApi/Models/OpenApiDeepCopyContext.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless upcast Warning

There is no need to upcast from
OpenApiServerVariable
to
Object
- the conversion can be done implicitly.

Check warning on line 878 in src/Microsoft.OpenApi/Models/OpenApiDeepCopyContext.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless upcast Warning

There is no need to upcast from
OpenApiSecurityRequirement
to
Object
- the conversion can be done implicitly.

Check warning on line 879 in src/Microsoft.OpenApi/Models/OpenApiDeepCopyContext.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless upcast Warning

There is no need to upcast from
OpenApiEncoding
to
Object
- the conversion can be done implicitly.

Check warning on line 880 in src/Microsoft.OpenApi/Models/OpenApiDeepCopyContext.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless upcast Warning

There is no need to upcast from
RuntimeExpressionAnyWrapper
to
Object
- the conversion can be done implicitly.

Check warning on line 881 in src/Microsoft.OpenApi/Models/OpenApiDeepCopyContext.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless upcast Warning

There is no need to upcast from
OpenApiTag
to
Object
- the conversion can be done implicitly.

Check warning on line 882 in src/Microsoft.OpenApi/Models/OpenApiDeepCopyContext.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless upcast Warning

There is no need to upcast from
OpenApiTagReference
to
Object
- the conversion can be done implicitly.