Skip to content

[release/10.0] Drop Microsoft.AspNetCore.Grpc.Swagger - #67952

Merged
wtgodbe merged 2 commits into
release/10.0from
copilot/release-100-backport-pull-67919
Aug 11, 2026
Merged

wtgodbe merged 2 commits into
release/10.0from
copilot/release-100-backport-pull-67919

Conversation

Copilot AI commented Jul 22, 2026 •

Copy link
Copy Markdown
Contributor

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

Youssef1313 and others added 2 commits July 22, 2026 07:17
@Youssef1313
Youssef1313 marked this pull request as ready for review July 22, 2026 07:23
Copilot AI review requested due to automatic review settings July 22, 2026 07:23
@Youssef1313
Youssef1313 requested review from a team, JamesNK, tdykstra and wtgodbe as code owners July 22, 2026 07:23

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 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.Swagger source project (including PublicAPI files) and all of its internal implementation.
  • Removed the Microsoft.AspNetCore.Grpc.Swagger.Tests project 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.

@Youssef1313 Youssef1313 added the Servicing-consider Shiproom approval is required for the issue label Aug 6, 2026
@wtgodbe wtgodbe added Servicing-approved Shiproom has approved the issue and removed Servicing-consider Shiproom approval is required for the issue labels Aug 11, 2026
@wtgodbe
wtgodbe merged commit 1028b92 into release/10.0 Aug 11, 2026
26 of 29 checks passed
@wtgodbe
wtgodbe deleted the copilot/release-100-backport-pull-67919 branch August 11, 2026 17:36
@dotnet-policy-service

Copy link
Copy Markdown
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Servicing-approved Shiproom has approved the issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants