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

Support truthy string values for exclude operations with extension #2687

Closed niclim closed 7 months ago

niclim commented 8 months ago

🍗 Description

What does this PR do? Anything folks should know?

Check for truthy string values in exclude operations with extensions - e.g.

x-draft: "true"
x-draft: "yes"

📚 References

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

👹 QA

How can other humans verify that this PR is correct?