Bugfix: adding query parameters as docstrings per method
Bugfix: adding data type to query parameter docstring
Bugfix: moving parameter type check inside the loop because otherwise
it's only looking at the last parameter