opticdev / optic

OpenAPI linting, diffing and testing. Optic helps prevent breaking changes, publish accurate documentation and improve the design of your APIs.
https://useoptic.com
MIT License
1.35k stars 79 forks source link

Fix cli/diff web flow to handle changed path patterns #2744

Closed niclim closed 7 months ago

niclim commented 7 months ago

🍗 Description

What does this PR do? Anything folks should know?

We're stripping out unused paths - this ran into some issues when we renamed path parameters because the look up didn't account for parameterized endpoints. This PR fixes it

📚 References

Links to relevant docs (Notion, Twist, GH issues, etc.), if applicable.

👹 QA

How can other humans verify that this PR is correct?