Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
fix chinese comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ponytailer committed Oct 21, 2021
1 parent 3e0655d commit e9295d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schema_validator/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def generate_schema_command(
schema = _build_openapi_schema(
app, app.extensions["FLASK_SCHEMA"], tag if tag else None)

formatted_spec = json.dumps(schema, indent=2)
formatted_spec = json.dumps(schema, indent=2, ensure_ascii=False)
if output is not None:
with open(output, "w") as file_:
click.echo(formatted_spec, file=file_)
Expand Down

0 comments on commit e9295d6

Please sign in to comment.