mirror of
https://github.com/rjNemo/fastapi
synced 2026-06-11 04:56:41 +00:00
✏ Reword confusing sentence in docs file typo-fix-path-params-numeric-validations.md (#3219)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
parent
39319a7ede
commit
438656395a
1 changed files with 2 additions and 2 deletions
|
|
@ -122,9 +122,9 @@ And you can also declare numeric validations:
|
||||||
* `le`: `l`ess than or `e`qual
|
* `le`: `l`ess than or `e`qual
|
||||||
|
|
||||||
!!! info
|
!!! info
|
||||||
`Query`, `Path`, and others you will see later are subclasses of a common `Param` class (that you don't need to use).
|
`Query`, `Path`, and other classes you will see later are subclasses of a common `Param` class.
|
||||||
|
|
||||||
And all of them share the same all these same parameters of additional validation and metadata you have seen.
|
All of them share the same parameters for additional validation and metadata you have seen.
|
||||||
|
|
||||||
!!! note "Technical Details"
|
!!! note "Technical Details"
|
||||||
When you import `Query`, `Path` and others from `fastapi`, they are actually functions.
|
When you import `Query`, `Path` and others from `fastapi`, they are actually functions.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue