Browse Source

Fix 404 exclude_defaults and exclude_none

pull/15967/head
Yurii Motov 2 weeks ago
parent
commit
cbfe009803
  1. 2
      docs/en/docs/tutorial/response-model.md

2
docs/en/docs/tutorial/response-model.md

@ -258,7 +258,7 @@ You can also use:
* `response_model_exclude_defaults=True`
* `response_model_exclude_none=True`
as described in [the Pydantic docs](https://docs.pydantic.dev/1.10/usage/exporting_models/#modeldict) for `exclude_defaults` and `exclude_none`.
as described in [the Pydantic docs](https://pydantic.dev/docs/validation/latest/concepts/serialization/#excluding-and-including-fields-based-on-their-value) for `exclude_defaults` and `exclude_none`.
///

Loading…
Cancel
Save