Fix py37 test
parent
762467285c
commit
8e2228fe5f
|
|
@ -116,24 +116,24 @@ SWAGGER_SETTINGS = {
|
||||||
'type': 'basic'
|
'type': 'basic'
|
||||||
},
|
},
|
||||||
'Bearer': {
|
'Bearer': {
|
||||||
'type': 'apiKey',
|
'in': 'header',
|
||||||
'name': 'Authorization',
|
'name': 'Authorization',
|
||||||
'in': 'header'
|
|
||||||
},
|
|
||||||
'Query': {
|
|
||||||
'type': 'apiKey',
|
'type': 'apiKey',
|
||||||
'name': 'auth',
|
|
||||||
'in': 'query'
|
|
||||||
},
|
},
|
||||||
'OAuth2 password': {
|
'OAuth2 password': {
|
||||||
'type': 'oauth2',
|
|
||||||
'flow': 'password',
|
'flow': 'password',
|
||||||
'tokenUrl': OAUTH2_TOKEN_URL,
|
|
||||||
'scopes': {
|
'scopes': {
|
||||||
'read': 'Read everything.',
|
'read': 'Read everything.',
|
||||||
'write': 'Write everything,',
|
'write': 'Write everything,',
|
||||||
}
|
},
|
||||||
}
|
'tokenUrl': OAUTH2_TOKEN_URL,
|
||||||
|
'type': 'oauth2',
|
||||||
|
},
|
||||||
|
'Query': {
|
||||||
|
'in': 'query',
|
||||||
|
'name': 'auth',
|
||||||
|
'type': 'apiKey',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
'OAUTH2_REDIRECT_URL': OAUTH2_REDIRECT_URL,
|
'OAUTH2_REDIRECT_URL': OAUTH2_REDIRECT_URL,
|
||||||
'OAUTH2_CONFIG': {
|
'OAUTH2_CONFIG': {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue