We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'd like to use export_openai_schema command in Japanese way. But the command can't export it.
Because of this.
django-ninja/ninja/management/commands/export_openapi_schema.py
Lines 79 to 84 in 39f40b3
result = json.dumps( schema, cls=NinjaJSONEncoder, indent=options["indent"], sort_keys=options["sort_keys"], )
# sample code >>> data {'id': 1, 'name': 'ほげ☺️'} >>> json.dumps(data) '{"id": 1, "name": "\\u307b\\u3052\\u263a\\ufe0f"}' >>> json.dumps(data, ensure_ascii=False) '{"id": 1, "name": "ほげ☺️"}'
I think it's much better if ninja can support multibyte language, since ninja is a Japanese word :) Thanks.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'd like to use export_openai_schema command in Japanese way.
But the command can't export it.
Because of this.
django-ninja/ninja/management/commands/export_openapi_schema.py
Lines 79 to 84 in 39f40b3
I think it's much better if ninja can support multibyte language, since ninja is a Japanese word :)
Thanks.
The text was updated successfully, but these errors were encountered: