Skip to content

Fix TryAddPath duplicate bound operation resolution - OpenAPI 3.0 #808

@gavinbarron

Description

@gavinbarron

Parent Issue

Tracked by #805

Scope

Fix the TryAddPath duplicate path resolution bug for OpenAPI 3.0 output (support/v1 branch).

Changes Required

  1. Utils.cs - Add exact-match check in TryAddPath: when the new operation''s binding type exactly matches the entity set type, replace the existing entry
  2. ODataPathProviderTests.cs - Add regression test reproducing the servicePrincipals/delta() scenario

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions