How to use OpenAPI to get data from request JSON? or Best way to extract JSON data from a request usi

16 Replies, 683 Views

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.

Messages In This Thread



Users browsing this thread: 1 Guest(s)