Repository navigation
[release/10.0] Drop Microsoft.AspNetCore.Grpc.Swagger - #67952
Merged
Merged
Conversation
Co-authored-by: Youssef1313 <[email protected]>
Co-authored-by: Youssef1313 <[email protected]>
Youssef1313
approved these changes
Jul 22, 2026
Youssef1313
marked this pull request as ready for review
July 22, 2026 07:23
Youssef1313
requested review from
a team,
JamesNK,
tdykstra and
wtgodbe
as code owners
July 22, 2026 07:23
Contributor
There was a problem hiding this comment.
Pull request overview
This PR backports the removal of the Microsoft.AspNetCore.Grpc.Swagger package from release/10.0, deleting the project and its tests and cleaning up repo-level references so the branch no longer builds or ships that assembly.
Changes:
- Removed the
Microsoft.AspNetCore.Grpc.Swaggersource project (including PublicAPI files) and all of its internal implementation. - Removed the
Microsoft.AspNetCore.Grpc.Swagger.Testsproject and all associated test/proto assets. - Removed remaining repo references (solution filters/solutions, shipping/delayed-build lists, and a testasset reference/config).
Reviewed changes
Copilot reviewed 43 out of 43 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/Grpc/JsonTranscoding/test/testassets/Sandbox/Startup.cs | Removes Swagger/SwaggerUI configuration previously wired up via the removed package. |
| src/Grpc/JsonTranscoding/test/testassets/Sandbox/Sandbox.csproj | Drops the Microsoft.AspNetCore.Grpc.Swagger reference from the sandbox testasset. |
| src/Grpc/JsonTranscoding/test/Microsoft.AspNetCore.Grpc.Swagger.Tests/XmlComments/XmlDocumentationIntegrationTests.cs | Deleted (test coverage for package functionality removed with package). |
| src/Grpc/JsonTranscoding/test/Microsoft.AspNetCore.Grpc.Swagger.Tests/XmlComments/XmlCommentsDocumentFilterTests.cs | Deleted (test coverage for package functionality removed with package). |
| src/Grpc/JsonTranscoding/test/Microsoft.AspNetCore.Grpc.Swagger.Tests/Services/XmlDocServiceWithComments.cs | Deleted (test service removed with test project). |
| src/Grpc/JsonTranscoding/test/Microsoft.AspNetCore.Grpc.Swagger.Tests/Services/XmlDocService.cs | Deleted (test service removed with test project). |
| src/Grpc/JsonTranscoding/test/Microsoft.AspNetCore.Grpc.Swagger.Tests/Services/ResponseBodyService.cs | Deleted (test service removed with test project). |
| src/Grpc/JsonTranscoding/test/Microsoft.AspNetCore.Grpc.Swagger.Tests/Services/ParametersService.cs | Deleted (test service removed with test project). |
| src/Grpc/JsonTranscoding/test/Microsoft.AspNetCore.Grpc.Swagger.Tests/Services/GreeterService.cs | Deleted (test service removed with test project). |
| src/Grpc/JsonTranscoding/test/Microsoft.AspNetCore.Grpc.Swagger.Tests/Services/BodyService.cs | Deleted (test service removed with test project). |
| src/Grpc/JsonTranscoding/test/Microsoft.AspNetCore.Grpc.Swagger.Tests/SchemaGeneratorIntegrationTests.cs | Deleted (test coverage for package functionality removed with package). |
| src/Grpc/JsonTranscoding/test/Microsoft.AspNetCore.Grpc.Swagger.Tests/Proto/xmldoc.proto | Deleted (proto asset removed with test project). |
| src/Grpc/JsonTranscoding/test/Microsoft.AspNetCore.Grpc.Swagger.Tests/Proto/responsebody.proto | Deleted (proto asset removed with test project). |
| src/Grpc/JsonTranscoding/test/Microsoft.AspNetCore.Grpc.Swagger.Tests/Proto/parameters.proto | Deleted (proto asset removed with test project). |
| src/Grpc/JsonTranscoding/test/Microsoft.AspNetCore.Grpc.Swagger.Tests/Proto/messages.proto | Deleted (proto asset removed with test project). |
| src/Grpc/JsonTranscoding/test/Microsoft.AspNetCore.Grpc.Swagger.Tests/Proto/greeter.proto | Deleted (proto asset removed with test project). |
| src/Grpc/JsonTranscoding/test/Microsoft.AspNetCore.Grpc.Swagger.Tests/Proto/counter.proto | Deleted (proto asset removed with test project). |
| src/Grpc/JsonTranscoding/test/Microsoft.AspNetCore.Grpc.Swagger.Tests/Proto/body.proto | Deleted (proto asset removed with test project). |
| src/Grpc/JsonTranscoding/test/Microsoft.AspNetCore.Grpc.Swagger.Tests/Microsoft.AspNetCore.Grpc.Swagger.Tests.csproj | Deleted (test project removed). |
| src/Grpc/JsonTranscoding/test/Microsoft.AspNetCore.Grpc.Swagger.Tests/Infrastructure/TestWebHostEnvironment.cs | Deleted (test infrastructure removed with test project). |
| src/Grpc/JsonTranscoding/test/Microsoft.AspNetCore.Grpc.Swagger.Tests/Infrastructure/OpenApiTestHelpers.cs | Deleted (test infrastructure removed with test project). |
| src/Grpc/JsonTranscoding/test/Microsoft.AspNetCore.Grpc.Swagger.Tests/GrpcSwaggerServiceExtensionsTests.cs | Deleted (test coverage for package functionality removed with package). |
| src/Grpc/JsonTranscoding/test/Microsoft.AspNetCore.Grpc.Swagger.Tests/google/api/http.proto | Deleted (vendored proto dependency removed with test project). |
| src/Grpc/JsonTranscoding/test/Microsoft.AspNetCore.Grpc.Swagger.Tests/google/api/annotations.proto | Deleted (vendored proto dependency removed with test project). |
| src/Grpc/JsonTranscoding/test/Microsoft.AspNetCore.Grpc.Swagger.Tests/Binding/ResponseBodyTests.cs | Deleted (test coverage for package functionality removed with package). |
| src/Grpc/JsonTranscoding/test/Microsoft.AspNetCore.Grpc.Swagger.Tests/Binding/ParametersTests.cs | Deleted (test coverage for package functionality removed with package). |
| src/Grpc/JsonTranscoding/test/Microsoft.AspNetCore.Grpc.Swagger.Tests/Binding/BodyTests.cs | Deleted (test coverage for package functionality removed with package). |
| src/Grpc/JsonTranscoding/src/Microsoft.AspNetCore.Grpc.Swagger/PublicAPI.Unshipped.txt | Deleted (project removed). |
| src/Grpc/JsonTranscoding/src/Microsoft.AspNetCore.Grpc.Swagger/PublicAPI.Shipped.txt | Deleted (project removed). |
| src/Grpc/JsonTranscoding/src/Microsoft.AspNetCore.Grpc.Swagger/Microsoft.AspNetCore.Grpc.Swagger.csproj | Deleted (package project removed). |
| src/Grpc/JsonTranscoding/src/Microsoft.AspNetCore.Grpc.Swagger/Internal/XmlComments/GrpcXmlCommentsOperationFilter.cs | Deleted (implementation removed with project). |
| src/Grpc/JsonTranscoding/src/Microsoft.AspNetCore.Grpc.Swagger/Internal/XmlComments/GrpcXmlCommentsDocumentFilter.cs | Deleted (implementation removed with project). |
| src/Grpc/JsonTranscoding/src/Microsoft.AspNetCore.Grpc.Swagger/Internal/MessageDescriptorHelpers.cs | Deleted (implementation removed with project). |
| src/Grpc/JsonTranscoding/src/Microsoft.AspNetCore.Grpc.Swagger/Internal/GrpcModelMetadata.cs | Deleted (implementation removed with project). |
| src/Grpc/JsonTranscoding/src/Microsoft.AspNetCore.Grpc.Swagger/Internal/GrpcJsonTranscodingDescriptionProvider.cs | Deleted (implementation removed with project). |
| src/Grpc/JsonTranscoding/src/Microsoft.AspNetCore.Grpc.Swagger/Internal/GrpcDataContractResolver.cs | Deleted (implementation removed with project). |
| src/Grpc/JsonTranscoding/src/Microsoft.AspNetCore.Grpc.Swagger/GrpcSwaggerServiceExtensions.cs | Deleted (public extensions removed with project). |
| src/Grpc/JsonTranscoding/src/Microsoft.AspNetCore.Grpc.Swagger/GrpcSwaggerGenOptionsExtensions.cs | Deleted (public extensions removed with project). |
| src/Grpc/Grpc.slnf | Removes the deleted project(s) from the gRPC solution filter. |
| eng/ShippingAssemblies.props | Stops marking Microsoft.AspNetCore.Grpc.Swagger as a shipping assembly. |
| eng/RequiresDelayedBuildProjects.props | Removes the deleted projects from delayed-build enforcement. |
| eng/ProjectReferences.props | Removes the project reference provider entry for the deleted project. |
| AspNetCore.slnx | Removes the deleted projects from the main solution manifest. |
JamesNK
approved these changes
Jul 22, 2026
3 tasks
wtgodbe
approved these changes
Jul 22, 2026
Contributor
|
Hi @copilot. This PR was just approved to be included in the upcoming servicing release. Somebody from the @dotnet/aspnet-build team will get it merged when the branches are open. Until then, please make sure all the CI checks pass and the PR is reviewed. |
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.
Drop Microsoft.AspNetCore.Grpc.Swagger
This is a backport of #67919 which removes the experimental Microsoft.AspNetCore.Grpc.Swagger.
Description
See #67134
This package has been experimental with relatively low usage.
https://www.nuget.org/packages/Microsoft.AspNetCore.Grpc.Swagger -> Current version (released 23 days ago) 36K downloads.
In contrast, https://www.nuget.org/packages/Swashbuckle.AspNetCore.Swagger has 7.6M downloads for current version (released only a month ago), and https://www.nuget.org/packages/Microsoft.AspNetCore.OpenApi has 2M downloads for current version (released 23 days ago).
The package adds maintenance cost that's not worth it.
Customer Impact
No new experimental versions of this package will be published.
Regression?
N/A
Risk
Low - intentional package deprecation.
Verification
N/A