Skip to content

Bump version to 10.2.0#3872

Merged
martincostello merged 1 commit into
masterfrom
gh-3822-follow-ups
Mar 26, 2026
Merged

Bump version to 10.2.0#3872
martincostello merged 1 commit into
masterfrom
gh-3822-follow-ups

Conversation

@martincostello
Copy link
Copy Markdown
Collaborator

- Bump version to 10.2.0.
- Fix-up some formatting from #3822.
- Add an extra integration test.
Copilot AI review requested due to automatic review settings March 26, 2026 14:49
@martincostello martincostello added this to the v10.2.0 milestone Mar 26, 2026
@martincostello martincostello enabled auto-merge (squash) March 26, 2026 14:50
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

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 VersionPrefix to 10.2.0.
  • Add WebApi.Map to 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.Map sample 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
Copy link
Copy Markdown

codecov Bot commented Mar 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.05%. Comparing base (1e43cbe) to head (9ae252c).
⚠️ Report is 1 commits behind head on master.
✅ All tests successful. No failed tests found.

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           
Flag Coverage Δ
Linux 95.05% <100.00%> (ø)
Windows 95.05% <100.00%> (ø)
macOS 95.05% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@martincostello martincostello merged commit 75921db into master Mar 26, 2026
18 of 19 checks passed
@martincostello martincostello deleted the gh-3822-follow-ups branch March 26, 2026 15:00
This was referenced May 30, 2026
This was referenced Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants