You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While attempting to generate our swagger.json, I came across a problem.
AFAIK, apidoc's idiomatic way to document API request body parameters is using the @apiBody instruction:
Hello,
Thank you for the great work!
While attempting to generate our
swagger.json
, I came across a problem.AFAIK, apidoc's idiomatic way to document API request body parameters is using the
@apiBody
instruction:https://apidocjs.com/#param-api-body
Using
@apiBody
actually throws the following warning:And the corresponding
swagger.json
is missing those parameters entirely.Any specific reason why it is implemented as
@apiParam (Body)
here instead?As a corollary, IMHO
@apiParam (Query)
should simply be@apiParam
.The text was updated successfully, but these errors were encountered: