openapi-generator/samples
herrerog 70f4c72421 [Python]: correct query_params type. (#5503)
query_params is a list of tuple, so defined it as a list by
default instead of a dict.

This fix below issue on the client side.

Traceback (most recent call last):
  File "test.py", line 13, in <module>
    api_response = api_instance.seek("the")
  File "python-client/swagger_client/apis/seek_api.py", line 168, in seek
    (data) = self.seek_with_http_info(recherche, **kwargs)
  File "python-client/swagger_client/apis/seek_api.py", line 245, in seek_with_http_info
    collection_formats=collection_formats)
  File "python-client/swagger_client/api_client.py", line 323, in call_api
    _return_http_data_only, collection_formats, _preload_content, _request_timeout)
  File "python-client/swagger_client/api_client.py", line 135, in __call_api
    self.update_params_for_auth(header_params, query_params, auth_settings)
  File "python-client/swagger_client/api_client.py", line 512, in update_params_for_auth
    querys.append((auth_setting['key'], auth_setting['value']))
AttributeError: 'dict' object has no attribute 'append'

Signed-off-by: Gregory Herrero <gregory.herrero@gmail.com>
2017-04-29 12:07:09 +08:00
..
client [Python]: correct query_params type. (#5503) 2017-04-29 12:07:09 +08:00
documentation/cwiki Remove Apache license from document generator (#4199) 2016-11-16 23:45:55 +08:00
dynamic-html Update samples for clojure + dynamic-html. (#5217) 2017-03-27 11:47:56 +08:00
html Add support for Markdown in -l html (#5144) 2017-03-23 15:15:01 +08:00
html2 [Html2] Fix circular references (#5313) 2017-04-06 14:39:26 +08:00
html.md Add support for Markdown in -l html (#5144) 2017-03-23 15:15:01 +08:00
server [Java][Spring] fix missing import for java.io.IOException (#5501) 2017-04-28 00:45:06 +08:00
server-generator Swagger Spec -> OpenAPI Spec 2015-12-30 14:52:15 -08:00
yaml Spelling fixes 2016-08-27 02:34:33 +03:00