Browse Source

Add docs

pull/13657/head
Kinuax 3 months ago
parent
commit
c4ae1e3d3b
  1. 8
      fastapi/applications.py
  2. 8
      fastapi/routing.py

8
fastapi/applications.py

@ -756,7 +756,9 @@ class FastAPI(Starlette):
bool,
Doc(
"""
TODO
To include (or not) the field `input` in the validation error of all *path operations*.
This does not affect the generated OpenAPI (e.g. visible at `/docs`).
"""
),
] = True,
@ -764,7 +766,9 @@ class FastAPI(Starlette):
bool,
Doc(
"""
TODO
To include (or not) the field `url` in the validation error of all *path operations*.
This does not affect the generated OpenAPI (e.g. visible at `/docs`).
"""
),
] = False,

8
fastapi/routing.py

@ -837,7 +837,9 @@ class APIRouter(routing.Router):
bool,
Doc(
"""
TODO
To include (or not) the field `input` in the validation error of all *path operations*.
This does not affect the generated OpenAPI (e.g. visible at `/docs`).
"""
),
] = True,
@ -845,7 +847,9 @@ class APIRouter(routing.Router):
bool,
Doc(
"""
TODO
To include (or not) the field `url` in the validation error of all *path operations*.
This does not affect the generated OpenAPI (e.g. visible at `/docs`).
"""
),
] = False,

Loading…
Cancel
Save