Open ciprian1234 opened 2 years ago
I agree this is a big missing feature right now. As it stands now, any large-ish API's docs will be bloated with typedefs of the request bodies. Specifying them inline would fix the issue.
Any update on this?
Upvote. I also came here to open an issue like this
Currently I believe if we want to specify JSON body fields of a POST/PUT request we need to create a separate object with @typedef keyword. Its would be nice to support following syntax.
So in this case the POST /item endpoint should expect an object like this