The swagger spec specifically states that parameters that are not in body should adhere to a specific subset of types.
http://swagger.io/specification/#parameterObject
It's probably a good idea to deserialize / serialize object types to and from these basic types as necessary (using something like a string).