Skip to content

Typo fixes #3433

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 1, 2025
Merged

Typo fixes #3433

merged 2 commits into from
Jun 1, 2025

Conversation

martincostello
Copy link
Collaborator

Fix various typos in code found by Visual Studio.
Fix link to documentation broken by #3405.
@martincostello martincostello added this to the v8.1.3 milestone Jun 1, 2025
@Copilot Copilot AI review requested due to automatic review settings June 1, 2025 15:35
Copy link

@Copilot 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

This PR fixes various typos in the codebase and corrects a broken documentation link.

  • Fixed an incorrect lambda parameter naming (e.g. "schemaRespository" to "schemaRepository") and inconsistent lambda parameter names.
  • Updated the documentation link to point to the correct URL.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/Swashbuckle.AspNetCore.SwaggerGen/SwaggerGenerator/SwaggerGenerator.cs Corrected typos and standardized variable names in lambda expressions; updated the documentation link.
exclusion.dic Added a new exclusion term ("unprocessable") to the list.
Comments suppressed due to low confidence (1)

src/Swashbuckle.AspNetCore.SwaggerGen/SwaggerGenerator/SwaggerGenerator.cs:128

  • [nitpick] Consider using a more descriptive parameter name in lambda expressions instead of the single-letter 'p' to enhance code readability.
throw new UnknownSwaggerDocument(documentName, _options.SwaggerDocs.Select((p) => p.Key));

@martincostello martincostello enabled auto-merge (rebase) June 1, 2025 15:36
Copy link

codecov bot commented Jun 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.55%. Comparing base (c04e798) to head (5511401).
Report is 2 commits behind head on master.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3433   +/-   ##
=======================================
  Coverage   93.55%   93.55%           
=======================================
  Files         110      110           
  Lines        3834     3834           
  Branches      719      719           
=======================================
  Hits         3587     3587           
  Misses        247      247           
Flag Coverage Δ
Linux 93.55% <100.00%> (ø)
Windows 93.55% <100.00%> (ø)
macOS 93.55% <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 3390173 into master Jun 1, 2025
11 checks passed
@martincostello martincostello deleted the typo-fixes branch June 1, 2025 15:39
This was referenced Jul 28, 2025
This was referenced Aug 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant