Real-life RESTful server example on Flask-RESTplus
I would like to add multiple parameters to an endpoint, essentially chaining them as so: ```python @api.parameters(SomeParameters()) @api.parameters(MoreParameters()) @api.parameters(EvenMoreParameters()) def get(self, args): ... ``` However, this results in a separate dict for each set of parameters and does not concatenate the arguments as I had expected. Also, Swagger does not seem to parse all of the argument options as only the topmost decorator appears in the docs.  I could simply create another Parameters class that combines all of the fields from the others, but I'd like to avoid having to create one for each desired combination of parameters. Another idea I had was to create a method that would accept any number of Parameter objects and return a new dynamic Schema object with all of the combined fields. Something like: ```python @api.parameters(many_params(SomeParameters(), MoreParameters(), EvenMoreParameters())) def get(self, args): ... ``` What is the recommended approach to accomplish this? I feel like I must be missing an easier way...
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by jdjodrey and has received 8 comments.