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.36k stars 83 forks source link

fix required request body missing not rendering #2644

Closed niclim closed 10 months ago

niclim commented 10 months ago

🍗 Description

What does this PR do? Anything folks should know?

When running capture and a request body is missing, it doesn't get rendered to the user. This PR fixes that

📚 References

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

👹 QA

How can other humans verify that this PR is correct?