stoplightio / spectral

A flexible JSON/YAML linter for creating automated style guides, with baked in support for OpenAPI v3.1, v3.0, and v2.0 as well as AsyncAPI v2.x.
https://stoplight.io/spectral
Apache License 2.0
2.43k stars 235 forks source link

fix(core): dedupe paths containing special characters correctly #2501

Closed P0lip closed 1 year ago

P0lip commented 1 year ago

Fixes https://github.com/stoplightio/spectral/issues/2500

Checklist

Does this PR introduce a breaking change?

stoplight-bot commented 1 year ago

:tada: This PR is included in version 1.18.2 :tada:

The release is available on npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:

derbylock commented 1 year ago

Looks like it brokes path output

derbylock commented 1 year ago

Seems like this fix breaks more than it fixes