Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: microsoft/OpenAPI.NET.OData
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.2.0
Choose a base ref
...
head repository: microsoft/OpenAPI.NET.OData
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.2.1
Choose a head ref
  • 4 commits
  • 5 files changed
  • 4 contributors

Commits on Apr 14, 2026

  1. fix: TryAddPath exact-match check for duplicate bound operation paths

    When a duplicate path is detected in TryAddPath, the existing heuristic
    checks if the new operation's binding type has derived types and, if so,
    keeps the first entry assuming it was more specific. This is incorrect
    when the first entry came from a base type (e.g., directoryObject) and
    the new entry is the exact match for the entity set (e.g., servicePrincipal).
    
    Add an exact-match check: if the operation's binding type matches the
    entity set type, always replace the existing entry regardless of derived
    types. This ensures paths like /servicePrincipals/delta() return the
    correct type (servicePrincipal) instead of the base type (directoryObject).
    
    Fixes #806
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    gavinbarron and Copilot committed Apr 14, 2026
    Configuration menu
    Copy the full SHA
    ff9ab41 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #811 from microsoft/fix/tryaddpath-delta-resolutio…

    …n-v2
    
    fix: TryAddPath exact-match check for duplicate bound operation paths (OpenAPI 3.1)
    baywet authored Apr 14, 2026
    Configuration menu
    Copy the full SHA
    c47009a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4ba7498 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #813 from microsoft/release-please--branches--supp…

    …ort/v2--components--Microsoft.OpenApi.OData
    
    chore(support/v2): release 2.2.1
    baywet authored Apr 14, 2026
    Configuration menu
    Copy the full SHA
    7bdc165 View commit details
    Browse the repository at this point in the history
Loading