pre-commit-ci-lite[bot]
4 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
8 additions and
2 deletions
-
tests/test_security_oauth2.py
|
|
|
@ -213,7 +213,11 @@ def test_openapi_schema(): |
|
|
|
"type": "string", |
|
|
|
}, |
|
|
|
"username": {"title": "Username", "type": "string"}, |
|
|
|
"password": {"title": "Password", 'format': 'password', "type": "string"}, |
|
|
|
"password": { |
|
|
|
"title": "Password", |
|
|
|
"format": "password", |
|
|
|
"type": "string", |
|
|
|
}, |
|
|
|
"scope": { |
|
|
|
"title": "Scope", |
|
|
|
"type": "string", |
|
|
|
@ -224,7 +228,9 @@ def test_openapi_schema(): |
|
|
|
"anyOf": [{"type": "string"}, {"type": "null"}], |
|
|
|
}, |
|
|
|
"client_secret": { |
|
|
|
"title": "Client Secret", 'format': 'password', "anyOf": [{"type": "string"}, {"type": "null"}], |
|
|
|
"title": "Client Secret", |
|
|
|
"format": "password", |
|
|
|
"anyOf": [{"type": "string"}, {"type": "null"}], |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
|