OpenAPI.NET
OpenAPI.NET copied to clipboard
Version 1.6.5 to 1.6.13 contains breaking change
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.
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
Expected behavior No breaking changes between patch versions.
What does the openapi spec say? Is this definition of non unique paths a error?