Skip to content

Commit a215efa

Browse files
authored
Allow tokenUrl to be relative
Looks like the change before: 15c2fd5#diff-1a1a2865f336a376229eaffe0f56caac01c7a3a77602e07fe4a38fd550c6c318 Has been reverted: 0101a03#diff-6676609c9c37705f6953ffcc9eb6d33164df50f241d4844c5665cf5ff4305995R16 As mentioned, relative URLs are supported in OpenAPI 3.0+: swagger-api/swagger-ui#5243
1 parent 26e7e0f commit a215efa

File tree

1 file changed

+1
-1
lines changed
  • openapi_python_client/schema/openapi_schema_pydantic

1 file changed

+1
-1
lines changed

openapi_python_client/schema/openapi_schema_pydantic/oauth_flow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class OAuthFlow(BaseModel):
1313
"""
1414

1515
authorizationUrl: Optional[AnyUrl] = None
16-
tokenUrl: Optional[AnyUrl] = None
16+
tokenUrl: Optional[str] = None
1717
refreshUrl: Optional[AnyUrl] = None
1818
scopes: Dict[str, str]
1919

0 commit comments

Comments
 (0)