fastapi/fastapi/openapi
voegtlel 3397d4d69a
Implement response_model_exclude_defaults and response_model_exclude_none (#1166)
* Implemented response_model_exclude_defaults and response_model_exclude_none to be compatible pydantic options.

* 🚚 Rename and invert include_none to exclude_none to keep in sync with Pydantic

Co-authored-by: Lukas Voegtle <lukas.voegtle@sick.de>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2020-04-05 15:04:46 +02:00
..
__init__.py ♻️ Refactor, fix and update code 2018-12-06 20:24:50 +04:00
constants.py Generate correct OpenAPI docs for responses with no content (#621) 2019-11-24 14:15:39 +01:00
docs.py 🐛 Fix doctype in docs (#537) 2019-10-03 19:35:44 -05:00
models.py 🔇 Log email-validator not installed only when used (#946) 2020-02-04 05:31:01 +01:00
utils.py Implement response_model_exclude_defaults and response_model_exclude_none (#1166) 2020-04-05 15:04:46 +02:00