From 8e2228fe5fcc2ba1b9e5c545cf856a0679fead6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=20V=C3=AEjdea?= Date: Mon, 14 Jan 2019 14:58:16 +0200 Subject: [PATCH] Fix py37 test --- testproj/testproj/settings/base.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/testproj/testproj/settings/base.py b/testproj/testproj/settings/base.py index ba9f398..cf1217f 100644 --- a/testproj/testproj/settings/base.py +++ b/testproj/testproj/settings/base.py @@ -116,24 +116,24 @@ SWAGGER_SETTINGS = { 'type': 'basic' }, 'Bearer': { - 'type': 'apiKey', + 'in': 'header', 'name': 'Authorization', - 'in': 'header' - }, - 'Query': { 'type': 'apiKey', - 'name': 'auth', - 'in': 'query' }, 'OAuth2 password': { - 'type': 'oauth2', 'flow': 'password', - 'tokenUrl': OAUTH2_TOKEN_URL, 'scopes': { 'read': 'Read everything.', 'write': 'Write everything,', - } - } + }, + 'tokenUrl': OAUTH2_TOKEN_URL, + 'type': 'oauth2', + }, + 'Query': { + 'in': 'query', + 'name': 'auth', + 'type': 'apiKey', + }, }, 'OAUTH2_REDIRECT_URL': OAUTH2_REDIRECT_URL, 'OAUTH2_CONFIG': {