Closed alexgmin closed 11 months ago
Yeah, I had also been a bit unsure about this when I first added this "feature".
Displaying the key names as they are seems a better approach.
Or maybe add an option something like: {'title': '__auto__'}
to "beautify" the name.
I'll try to release a fix in a couple of days.
Using the same example from https://github.com/bhch/django-jsonform/issues/114
Schema
Display![image](https://github.com/bhch/django-jsonform/assets/8340441/067452c8-2913-4cc2-8eaf-042703b1115e)
In this case, "Original name" internally is![image](https://github.com/bhch/django-jsonform/assets/8340441/56f9f85a-6774-4007-9583-c4cfd1e1c342)
original_name
Ideally there should be an option for the display of the key to not be "beautified" for cases like this. In this example the ISO language code is also lowercase, so ideally that would also be shown lowercase in this case.