Added
- The
use_aliasesparameter was added to theBaseRouterconstructor. Default isTrue. To preserve the previous behavior (without using aliases from Pydantic), setuse_aliases=False.
Changed
- The
_serialize_response methodis now an instance method (was a@staticmethod) — to supportuse_aliases. - The
_get_model_schemamethod was temporarily changed from a@classmethodto a regular method — for consistent behavior withuse_aliases.
Deprecated
use_aliasesis deprecated and will be removed in version 0.7.0.