diff --git a/fastapi/applications.py b/fastapi/applications.py index ecd53746a..69caceea8 100644 --- a/fastapi/applications.py +++ b/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, diff --git a/fastapi/routing.py b/fastapi/routing.py index 0bb443941..a2fae393a 100644 --- a/fastapi/routing.py +++ b/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,