]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commit
📝 Document additional parameters for response_model (#1427)
authorWilliam Hayes <william.s.hayes@gmail.com>
Sat, 13 Jun 2020 13:23:29 +0000 (09:23 -0400)
committerGitHub <noreply@github.com>
Sat, 13 Jun 2020 13:23:29 +0000 (15:23 +0200)
commitceedfccde0951dfd445015b39c5dae66ad3897dc
treea021bc5c4b7fbd735ee9fe745051776dd5ba5bc6
parent2ee0eedf232db016de1c3f1457ba37557f3bd2fc
📝 Document additional parameters for response_model (#1427)

* Documented additional parameters

These are included in a recent PR (https://github.com/tiangolo/fastapi/pull/1166) but not in the docs yet.
* response_model_exclude_none
* response_model_exclude_defaults

* 📝 Update note about response_model_exclude_defaults and response_model_exclude_none

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
docs/en/docs/tutorial/response-model.md