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/no exit code error #2799

Closed niclim closed 6 months ago

niclim commented 6 months ago

🍗 Description

What does this PR do? Anything folks should know?

Fixes optic run error code when loading an invalid spec (fails validation)

📚 References

Links to relevant docs (Notion, Twist, GH issues, etc.), if applicable. https://github.com/opticdev/optic/issues/2797

👹 QA

How can other humans verify that this PR is correct?