Skip to content

Fix InvalidOperationException if no route matches#3999

Merged
martincostello merged 1 commit into
masterfrom
gh-3984
Jun 16, 2026
Merged

Fix InvalidOperationException if no route matches#3999
martincostello merged 1 commit into
masterfrom
gh-3984

Conversation

@martincostello

Copy link
Copy Markdown
Collaborator

Fix InvalidOperationException being thrown if no match for the route pattern is found while executing the request pipelline.

Resolves #3984.

Fix `InvalidOperationException` being thrown if no match for the route pattern is found while executing the request pipelline.

Resolves #3984.
@martincostello martincostello added this to the v10.2.2 milestone Jun 16, 2026
@codecov

codecov Bot commented Jun 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.09%. Comparing base (c3071ad) to head (48c2cb6).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3999      +/-   ##
==========================================
+ Coverage   95.04%   95.09%   +0.04%     
==========================================
  Files         111      111              
  Lines        3958     3997      +39     
  Branches      801      801              
==========================================
+ Hits         3762     3801      +39     
  Misses        196      196              
Flag Coverage Δ
Linux 95.09% <100.00%> (+0.04%) ⬆️
Windows 95.09% <100.00%> (+0.04%) ⬆️
macOS 95.09% <100.00%> (+0.04%) ⬆️

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

☔ View full report in Codecov by Harness.
📢 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 marked this pull request as ready for review June 16, 2026 13:48
@martincostello martincostello merged commit db21436 into master Jun 16, 2026
14 checks passed
@martincostello martincostello deleted the gh-3984 branch June 16, 2026 13:48
This was referenced Jun 19, 2026
Ghostdog02 pushed a commit to Ghostdog02/Lexiq that referenced this pull request Jun 22, 2026
Updated
[Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore)
from 10.2.1 to 10.2.2.

<details>
<summary>Release notes</summary>

_Sourced from [Swashbuckle.AspNetCore's
releases](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)._

## 10.2.2

## What's Changed

* Update NuGet packages by @​martincostello in
domaindrivendev/Swashbuckle.AspNetCore#3990
* Set `SOURCE_DATE_EPOCH` by @​martincostello in
domaindrivendev/Swashbuckle.AspNetCore#3997
* Fix `InvalidOperationException` if no route matches by
@​martincostello in
domaindrivendev/Swashbuckle.AspNetCore#3999
* Fix empty parameter example not generated by @​dldl-cmd in
domaindrivendev/Swashbuckle.AspNetCore#3932
* Map `[MinLength]`/`[MaxLength]` on dictionary properties to
`minProperties`/`maxProperties` by @​KitKeen in
domaindrivendev/Swashbuckle.AspNetCore#3922
* Fix conflicting required+nullable schema when only NonNullableReferen…
by @​KitKeen in
domaindrivendev/Swashbuckle.AspNetCore#3912
* Fix `ExposeSwaggerDocumentUrlsRoute` behaviour by @​martincostello in
domaindrivendev/Swashbuckle.AspNetCore#4000
* Use `NUGET_API_KEY` by @​martincostello in
domaindrivendev/Swashbuckle.AspNetCore#4006

## New Contributors

* @​KitKeen made their first contribution in
domaindrivendev/Swashbuckle.AspNetCore#3922

**Full Changelog**:
domaindrivendev/Swashbuckle.AspNetCore@v10.2.1...v10.2.2


Commits viewable in [compare
view](domaindrivendev/Swashbuckle.AspNetCore@v10.2.1...v10.2.2).
</details>

Updated
[Swashbuckle.AspNetCore.SwaggerUI](https://github.com/domaindrivendev/Swashbuckle.AspNetCore)
from 10.2.1 to 10.2.2.

<details>
<summary>Release notes</summary>

_Sourced from [Swashbuckle.AspNetCore.SwaggerUI's
releases](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)._

## 10.2.2

## What's Changed

* Update NuGet packages by @​martincostello in
domaindrivendev/Swashbuckle.AspNetCore#3990
* Set `SOURCE_DATE_EPOCH` by @​martincostello in
domaindrivendev/Swashbuckle.AspNetCore#3997
* Fix `InvalidOperationException` if no route matches by
@​martincostello in
domaindrivendev/Swashbuckle.AspNetCore#3999
* Fix empty parameter example not generated by @​dldl-cmd in
domaindrivendev/Swashbuckle.AspNetCore#3932
* Map `[MinLength]`/`[MaxLength]` on dictionary properties to
`minProperties`/`maxProperties` by @​KitKeen in
domaindrivendev/Swashbuckle.AspNetCore#3922
* Fix conflicting required+nullable schema when only NonNullableReferen…
by @​KitKeen in
domaindrivendev/Swashbuckle.AspNetCore#3912
* Fix `ExposeSwaggerDocumentUrlsRoute` behaviour by @​martincostello in
domaindrivendev/Swashbuckle.AspNetCore#4000
* Use `NUGET_API_KEY` by @​martincostello in
domaindrivendev/Swashbuckle.AspNetCore#4006

## New Contributors

* @​KitKeen made their first contribution in
domaindrivendev/Swashbuckle.AspNetCore#3922

**Full Changelog**:
domaindrivendev/Swashbuckle.AspNetCore@v10.2.1...v10.2.2


Commits viewable in [compare
view](domaindrivendev/Swashbuckle.AspNetCore@v10.2.1...v10.2.2).
</details>

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This was referenced Jun 22, 2026
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.

[Bug]: Endpoint-Routing MapSwaggerUI CatchAll Breaks

1 participant