OpenAPI.NET icon indicating copy to clipboard operation
OpenAPI.NET copied to clipboard

Version 1.6.5 to 1.6.13 contains breaking change

Open JohannesBauer97 opened this issue 11 months ago • 3 comments

Describe the bug We're using this package to validate OpenAPI specification files by reading the files OpenApiStringReader.Read and checking if there are diagnostic errors. image

After updating from 1.6.5 to 1.6.13, a spec which was valid before, became invalid because of non-unique paths (see below the screenshot).

Diagnostic Error: RuleName: "PathMustBeUnique" Pointer: "#/paths//api/v1/{birdId}/children/{childNo}" Message: "The path signature '/api/v1/{}/children/{}' MUST be unique."

OpenApi File To Reproduce Just giving a screenshot here, if the full file is required I need to anonymize it first. Maybe for the discussion the screenshot is enough image

Expected behavior No breaking changes between patch versions.

What does the openapi spec say? Is this definition of non unique paths a error?

JohannesBauer97 avatar Feb 28 '24 12:02 JohannesBauer97