Skip to content

Ignore IDE0001 in DynamicOpenApiDocumentTransformer#9779

Merged
tobias-tengler merged 1 commit into
mainfrom
tte/fix-some-suggestions
May 26, 2026
Merged

Ignore IDE0001 in DynamicOpenApiDocumentTransformer#9779
tobias-tengler merged 1 commit into
mainfrom
tte/fix-some-suggestions

Conversation

@tobias-tengler

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings May 26, 2026 14:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR suppresses the C# analyzer diagnostic IDE0001 (“Name can be simplified”) in DynamicOpenApiDocumentTransformer.cs to prevent noise caused by cross-target type aliasing between OpenApiSchemaAbstraction and OpenApiSchema.

Changes:

  • Added a file-level #pragma warning disable IDE0001 with an explanatory comment describing the multi-target aliasing scenario (NET10_0_OR_GREATER vs older TFMs).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tobias-tengler tobias-tengler merged commit 2fad37c into main May 26, 2026
145 checks passed
@tobias-tengler tobias-tengler deleted the tte/fix-some-suggestions branch May 26, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants