Bump version to 10.2.0#3872
Conversation
martincostello
commented
Mar 26, 2026
- Bump version to 10.2.0.
- Fix-up some formatting from Add MapSwaggerUI and MapReDoc to support endpoint routing #3822.
- Add an extra integration test.
- Bump version to 10.2.0. - Fix-up some formatting from #3822. - Add an extra integration test.
There was a problem hiding this comment.
Pull request overview
Updates the package version to 10.2.0, aligns formatting in SwaggerUI/ReDoc endpoint-routing extensions and docs, and expands integration coverage for the WebApi.Map test site (including new verified snapshots for Swagger and client generation).
Changes:
- Bump
VersionPrefixto10.2.0. - Add
WebApi.Mapto the “no Startup” Swagger JSON verification matrix and update associated verified snapshots. - Apply formatting/organization tweaks in endpoint-routing extensions and documentation; update the
WebApi.Mapsample to return a strongly-typed forecast model.
Reviewed changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| test/WebSites/WebApi.Map/Program.cs | Refactors /weatherforecast to return a typed Forecast record and modernizes the partial Program declaration. |
| test/Swashbuckle.AspNetCore.IntegrationTests/VerifyTests.cs | Adds WebApi.Map.Program to the Swagger JSON verification theory. |
| test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/10_0/VerifyTests.Swagger_IsValidJson_No_Startup_entryPointType=WebApi.Map.Program_swaggerRequestUri=v1.verified.txt | Adds verified Swagger JSON snapshot for net10.0 for the new test case. |
| test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/9_0/VerifyTests.Swagger_IsValidJson_No_Startup_entryPointType=WebApi.Map.Program_swaggerRequestUri=v1.verified.txt | Adds verified Swagger JSON snapshot for net9.0 for the new test case. |
| test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/8_0/VerifyTests.Swagger_IsValidJson_No_Startup_entryPointType=WebApi.Map.Program_swaggerRequestUri=v1.verified.txt | Adds verified Swagger JSON snapshot for net8.0 for the new test case. |
| test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/code/GeneratesValidClient_ff945e0bca843529/NSwagOpenApiClient.verified.cs | Adds verified NSwag-generated client snapshot. |
| test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/code/GeneratesValidClient_31ce33c8e9c1f385/KiotaOpenApiClient.verified.cs | Adds verified Kiota-generated client snapshot (SDK entrypoint). |
| test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/code/GeneratesValidClient_31ce33c8e9c1f385/Models/Forecast.verified.cs | Adds verified Kiota model snapshot for Forecast. |
| test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/code/GeneratesValidClient_31ce33c8e9c1f385/Weatherforecast/WeatherforecastRequestBuilder.verified.cs | Adds verified Kiota request builder snapshot for /weatherforecast. |
| src/Swashbuckle.AspNetCore.SwaggerUI/SwaggerUIBuilderExtensions.cs | Formatting-only adjustments (spacing/newlines) in endpoint routing helper methods. |
| src/Swashbuckle.AspNetCore.ReDoc/ReDocBuilderExtensions.cs | Minor style refactor (expression-bodied method) and formatting tweaks. |
| docs/configure-and-customize-swaggerui.md | Moves the [swagger-ui] reference definition to the end of the document. |
| docs/configure-and-customize-redoc.md | Moves the [redoc-options] reference definition to the end of the document. |
| Directory.Build.props | Bumps VersionPrefix to 10.2.0. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3872 +/- ##
=======================================
Coverage 95.05% 95.05%
=======================================
Files 111 111
Lines 3944 3944
Branches 795 795
=======================================
Hits 3749 3749
Misses 195 195
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:
|