diff --git a/openapi/__init__.py b/openapi/__init__.py index f24bc22..1f6f2fc 100644 --- a/openapi/__init__.py +++ b/openapi/__init__.py @@ -1,4 +1,4 @@ """Minimal OpenAPI asynchronous server application """ -__version__ = '0.8.4' +__version__ = '0.8.5' diff --git a/openapi/spec/path.py b/openapi/spec/path.py index aba3df3..ffe316b 100644 --- a/openapi/spec/path.py +++ b/openapi/spec/path.py @@ -25,8 +25,8 @@ def insert_data(self, data, *, strict=True, body_schema='body_schema'): return data def get_filters(self, *, query=None, query_schema='query_schema'): - combined = MultiDict(self.request.query) - combined.update(query or {}) + combined = MultiDict(query or ()) + combined.update(self.request.query) try: params = self.cleaned(query_schema, combined, multiple=True) except web.HTTPNotImplemented: diff --git a/readme.md b/readme.md index 6797915..fdc1ba0 100644 --- a/readme.md +++ b/readme.md @@ -96,7 +96,6 @@ Messages take the form: } ``` -PP [aiohttp]: https://aiohttp.readthedocs.io/en/stable/ [asyncpg]: https://github.com/MagicStack/asyncpg [dataclasses]: https://docs.python.org/3/library/dataclasses.html