Deprecation of apiParam #1078
Replies: 3 comments 4 replies
-
Only for old compatibility let But i don't have any problem to remove it completely, a quick search and replace should be no problem in maintained projects. |
Beta Was this translation helpful? Give feedback.
-
I thought If using Express: where inside the controller(req, res) middleware: Would be described with: |
Beta Was this translation helpful? Give feedback.
-
I'm trying to migrate from |
Beta Was this translation helpful? Give feedback.
-
At first there was only
@apiParam
which acted for both the query part (in the url), and the body (payload). Now we have@apiQuery
and@apiBody
to clearly separate the two different kind of parameters.I believe
@apiParam
should be deprecated and then removed completely as it is only confusing and doesn't make much sense IMHO.What do you (the users) think about this? Is there a good reason to keep
@apiParams
around?Beta Was this translation helpful? Give feedback.
All reactions