mirror of https://github.com/tiangolo/fastapi.git
✏ Fix typo: 'wll' to 'will' in `docs/en/docs/tutorial/query-params-str-validations.md` (#9380)
This commit is contained in:
parent
c1f41fc5fe
commit
571b5c6f0c
|
|
@ -110,7 +110,7 @@ Notice that the default value is still `None`, so the parameter is still optiona
|
|||
|
||||
But now, having `Query(max_length=50)` inside of `Annotated`, we are telling FastAPI that we want it to extract this value from the query parameters (this would have been the default anyway 🤷) and that we want to have **additional validation** for this value (that's why we do this, to get the additional validation). 😎
|
||||
|
||||
FastAPI wll now:
|
||||
FastAPI will now:
|
||||
|
||||
* **Validate** the data making sure that the max length is 50 characters
|
||||
* Show a **clear error** for the client when the data is not valid
|
||||
|
|
|
|||
Loading…
Reference in New Issue