mirror of
https://github.com/LukeHagar/connexion.git
synced 2025-12-09 20:37:46 +00:00
scope deepObject defaults code to query params only (#1110)
* scope deepObject defaults code to query params only (fixes spread of defaults into other parameters) * make default param test strict
This commit is contained in:
committed by
Henning Jacobs
parent
77f2861880
commit
1abab0653f
@@ -137,8 +137,8 @@ def test_path_parameter_somefloat(simple_app):
|
||||
assert resp.status_code == 404
|
||||
|
||||
|
||||
def test_default_param(simple_app):
|
||||
app_client = simple_app.app.test_client()
|
||||
def test_default_param(strict_app):
|
||||
app_client = strict_app.app.test_client()
|
||||
resp = app_client.get('/v1.0/test-default-query-parameter')
|
||||
assert resp.status_code == 200
|
||||
response = json.loads(resp.data.decode('utf-8', 'replace'))
|
||||
|
||||
Reference in New Issue
Block a user