mirror of https://github.com/tiangolo/fastapi.git
✏️ Fix typos in OAuth2 password request forms (#14112)
Fixed typos in OAuth2PasswordRequestForm and in OAuth2PasswordRequestFormStrict
This commit is contained in:
parent
287eb316df
commit
3eb2ee7510
|
|
@ -89,7 +89,7 @@ class OAuth2PasswordRequestForm:
|
||||||
Doc(
|
Doc(
|
||||||
"""
|
"""
|
||||||
`password` string. The OAuth2 spec requires the exact field name
|
`password` string. The OAuth2 spec requires the exact field name
|
||||||
`password".
|
`password`.
|
||||||
"""
|
"""
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
@ -243,7 +243,7 @@ class OAuth2PasswordRequestFormStrict(OAuth2PasswordRequestForm):
|
||||||
Doc(
|
Doc(
|
||||||
"""
|
"""
|
||||||
`password` string. The OAuth2 spec requires the exact field name
|
`password` string. The OAuth2 spec requires the exact field name
|
||||||
`password".
|
`password`.
|
||||||
"""
|
"""
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue