Update Swagger.Net/SwaggerModels.cs

Parameters that occur in the relative path as part of the query string are being treated as "path" parameters (as opposed to "query") and are thus required instead of optional and make the API documentation incorrect.

This fix makes sure that, if there is a question mark, that the parameter must occur BEFORE it in the relative path in order to be a "path" parameter.