Skip to content

Fix TryAddPath duplicate bound operation resolution - OpenAPI 3.1 #806

@gavinbarron

Description

@gavinbarron

Parent Issue

Tracked by #805

Scope

Fix the TryAddPath duplicate path resolution bug for OpenAPI 3.1 output.

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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions