Skip to content

feat(document): add GetOperationById to search operations across path… (#3025) - #3074

Merged
Vincent Biret (baywet) merged 1 commit into
support/v2from
feat/operation-lookup-to-v2
Sep 8, 2026
Merged

Vincent Biret (baywet) merged 1 commit into
support/v2from
feat/operation-lookup-to-v2

Conversation

@baywet

Copy link
Copy Markdown
Member

port of #3025 to v2

#3025)

* feat(document): add GetOperationById to search operations across paths and webhooks

* refactor(document): replace Concat with dedicated GetAllOperations iterator

* refactor(document): extract GetOperationsFromPathItems to eliminate duplicate iteration

* refactor(document): simplify GetOperationById using single-pass helper

Signed-off-by: Vincent Biret <vibiret@microsoft.com>
@baywet
Vincent Biret (baywet) requested a review from a team as a code owner September 8, 2026 13:11
@baywet Vincent Biret (baywet) self-assigned this Sep 8, 2026
@baywet
Vincent Biret (baywet) enabled auto-merge (squash) September 8, 2026 13:12
@github-code-quality

Copy link
Copy Markdown

Code Coverage Overview

Languages: C#

C# / code-coverage/dotnet

The overall line coverage in commit 1bf6028 in the feat/operation-looku... branch is 41%. The line coverage in commit 1dae1ff in the support/v2 branch is 32%.

Show a line coverage summary of the most impacted files.
File support/v2 1dae1ff feat/operation-looku... 1bf6028 +/-
/home/runner/wo...pyReferences.cs 63% 31% -32%
/home/runner/wo...Deserializer.cs 94% 69% -25%
/home/runner/wo...Deserializer.cs 100% 77% -23%
/home/runner/wo...Deserializer.cs 100% 80% -20%
/home/runner/wo...Deserializer.cs 100% 81% -19%
/home/runner/wo...Deserializer.cs 96% 82% -14%
/home/runner/wo...piComponents.cs 99% 87% -12%
/home/runner/wo...Deserializer.cs 100% 92% -8%
/home/runner/wo...xGenerator.g.cs 0% 85% +85%
/home/runner/wo...piTestAssert.cs 0% 91% +91%
@baywet
Vincent Biret (baywet) merged commit 75d6cea into support/v2 Sep 8, 2026
17 checks passed
@baywet
Vincent Biret (baywet) deleted the feat/operation-lookup-to-v2 branch September 8, 2026 17:16
github-actions Bot pushed a commit to psmfd/agent-expertise-api that referenced this pull request Oct 19, 2026
Updated [Microsoft.OpenApi](https://github.com/Microsoft/OpenAPI.NET)
from 2.12.2 to 2.13.0.

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

_Sourced from [Microsoft.OpenApi's
releases](https://github.com/Microsoft/OpenAPI.NET/releases)._

## 2.13.0

##
[2.13.0](microsoft/OpenAPI.NET@v2.12.2...v2.13.0)
(2026-10-19)


### Features

* **document:** add GetOperationById to search operations across path…
([#​3025](microsoft/OpenAPI.NET#3025))
([#​3074](microsoft/OpenAPI.NET#3074))
([75d6cea](microsoft/OpenAPI.NET@75d6cea))


### Bug Fixes

* components-key validation timeouts under load
([#​3108](microsoft/OpenAPI.NET#3108))
([#​3112](microsoft/OpenAPI.NET#3112))
([5369417](microsoft/OpenAPI.NET@5369417))
* **openapi:** omit null response descriptions
([1344a43](microsoft/OpenAPI.NET@1344a43))

Commits viewable in [compare
view](microsoft/OpenAPI.NET@v2.12.2...v2.13.0).
</details>

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Microsoft.OpenApi&package-manager=nuget&previous-version=2.12.2&new-version=2.13.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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 this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This was referenced Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants