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
When I use this as the body type in a POST request. it correctly camelizes the field to datasetId. But when I use it as the response type, the field comes out dataset_id
Versions
Python version: 3.11
Django version: 4.1.9
Django-Ninja version: 0.22.2
Pydantic version: 1.10.9
The text was updated successfully, but these errors were encountered:
Describe the bug
I have a class like this,
When I use this as the body type in a POST request. it correctly camelizes the field to
datasetId
. But when I use it as the response type, the field comes outdataset_id
Versions
The text was updated successfully, but these errors were encountered: