Skip to content

Commit 39940e8

Browse files
committed
Black modifications.
Running black on the codebase modified these files so figured I'd PR them. Feel free to close if you want to leave the way it is.
1 parent 5649766 commit 39940e8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

openapi_schema_pydantic/v3/v3_0_3/oauth_flow.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ class Config:
4848
"scopes": {"write:pets": "modify pets in your account", "read:pets": "read your pets"},
4949
},
5050
{
51-
"authorizationUrl": "/api/oauth/dialog", # issue #5: allow relative path
52-
"tokenUrl": "/api/oauth/token", # issue #5: allow relative path
53-
"refreshUrl": "/api/oauth/token", # issue #5: allow relative path
51+
"authorizationUrl": "/api/oauth/dialog", # issue #5: allow relative path
52+
"tokenUrl": "/api/oauth/token", # issue #5: allow relative path
53+
"refreshUrl": "/api/oauth/token", # issue #5: allow relative path
5454
"scopes": {"write:pets": "modify pets in your account", "read:pets": "read your pets"},
5555
},
5656
]

openapi_schema_pydantic/v3/v3_0_3/security_scheme.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,6 @@ class Config:
8383
},
8484
},
8585
{"type": "openIdConnect", "openIdConnectUrl": "https://example.com/openIdConnect"},
86-
{"type": "openIdConnect", "openIdConnectUrl": "openIdConnect"}, # #5: allow relative path
86+
{"type": "openIdConnect", "openIdConnectUrl": "openIdConnect"}, # #5: allow relative path
8787
]
8888
}

0 commit comments

Comments
 (0)