Merged
Conversation
Switch to file-scoped namespaces for `Swashbuckle.AspNetCore.Annotations*`.
Switch to file-scoped namespaces for `Swashbuckle.AspNetCore.ApiTesting*`.
Switch to file-scoped namespaces for `Swashbuckle.AspNetCore.Cli*`.
Switch to file-scoped namespaces for `Swashbuckle.AspNetCore.Newtonsoft*`.
Switch to file-scoped namespaces for `Swashbuckle.AspNetCore.ReDoc*`.
Switch to file-scoped namespaces for `Swashbuckle.AspNetCore.SwaggerUI*`.
Switch to file-scoped namespaces for `Swashbuckle.AspNetCore.Swagger*`.
Switch to file-scoped namespaces for `Swashbuckle.AspNetCore.SwaggerGen*`.
Switch to file-scoped namespaces for `Swashbuckle.AspNetCore.TestSupport*`.
Switch to file-scoped namespaces for `Swashbuckle.AspNetCore.IntegrationTests*`.
Switch to file-scoped namespaces for the test websites.
Simplify the hash define constants to either `#if NET` or `#if !NET` - most of the versions are now redundant since we only support .NET 8+.
test/WebSites/OAuth2Integration/AuthServer/Controllers/AccountController.cs
Dismissed
Show dismissed
Hide dismissed
test/WebSites/OAuth2Integration/AuthServer/Controllers/ConsentController.cs
Dismissed
Show dismissed
Hide dismissed
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #3331 +/- ##
==========================================
- Coverage 84.84% 84.82% -0.03%
==========================================
Files 77 79 +2
Lines 3221 3216 -5
Branches 556 556
==========================================
- Hits 2733 2728 -5
Misses 488 488
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
martincostello
added a commit
that referenced
this pull request
Mar 21, 2025
Ignore changes from #3331.
martincostello
added a commit
that referenced
this pull request
Mar 21, 2025
Ignore changes from #3331.
This was referenced Jul 29, 2025
This was referenced Feb 16, 2026
Bump Swashbuckle.AspNetCore from 5.6.3 to 10.1.3
EltonCoura/skills-secure-repository-supply-chain#23
Open
Open
Open
Open
Open
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
While working on #3283 the IDE was marking lots of suggestions to modernise the codebase.
Rather than ignore it, or make such changes part of the .NET 10 adoption, instead just go through everything now and spruce it up.
This PR adopts file-scoped namespaces for all of the code files, and also simplifies the
#if ...pre-processor directives.Post-merge there will be a PR to add the squashed commit to#3332.git-blame-ignore-revs.PR commits are grouped in chunks for easier review if anyone wants to.