You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using serialization_alias on Field the alias is correctly used in the response (with the by_alias flag) but not used for the openapi schema.
Describe the bug
When using serialization_alias on Field the alias is correctly used in the response (with the by_alias flag) but not used for the openapi schema.
Here is a short example:
Here we see that the response contains the
alias1
andalias2
field while the schema contains the says that the fields arealias 1
andbar
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: