mirror of https://github.com/tiangolo/fastapi.git
🔥 Remove unnecessary duplicated docstrings (#10484)
This commit is contained in:
parent
38f191dcd3
commit
c13aa9ed5f
|
|
@ -86,13 +86,6 @@ class FastAPI(Starlette):
|
|||
**Note**: you probably shouldn't use this parameter, it is inherited
|
||||
from Starlette and supported for compatibility.
|
||||
|
||||
In FastAPI, you normally would use the *path operation* decorators,
|
||||
like:
|
||||
|
||||
* `app.get()`
|
||||
* `app.post()`
|
||||
* etc.
|
||||
|
||||
---
|
||||
|
||||
A list of routes to serve incoming HTTP and WebSocket requests.
|
||||
|
|
|
|||
|
|
@ -624,13 +624,6 @@ class APIRouter(routing.Router):
|
|||
**Note**: you probably shouldn't use this parameter, it is inherited
|
||||
from Starlette and supported for compatibility.
|
||||
|
||||
In FastAPI, you normally would use the *path operation* decorators,
|
||||
like:
|
||||
|
||||
* `router.get()`
|
||||
* `router.post()`
|
||||
* etc.
|
||||
|
||||
---
|
||||
|
||||
A list of routes to serve incoming HTTP and WebSocket requests.
|
||||
|
|
|
|||
Loading…
Reference in New Issue