Browse Source

✏ Fix typo: 'wll' to 'will' in `docs/en/docs/tutorial/query-params-str-validations.md` (#9380)

pull/9394/head
dasstyxx 2 years ago
committed by GitHub
parent
commit
571b5c6f0c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/en/docs/tutorial/query-params-str-validations.md

2
docs/en/docs/tutorial/query-params-str-validations.md

@ -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…
Cancel
Save