Skip to content

Commit b780e3d

Browse files
authored
Merge pull request #21 from peterschutt/black-diff
Black modifications.
2 parents 04b842b + 39940e8 commit b780e3d

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)