I’ve been down this rabbit hole too. For openapi get from request json, I use Prism (by Stoplight) to mock and test the API first.
Helps catch validation issues early.
And yeah, `schema` is the way to go, but it’s clunky. Maybe try yaml instead of JSON for your spec? Feels less messy.
Helps catch validation issues early.
And yeah, `schema` is the way to go, but it’s clunky. Maybe try yaml instead of JSON for your spec? Feels less messy.
