Make openapi.json multiline so the diff is parsable (#2163)

This commit is contained in:
Sara Zan 2022-02-10 16:25:00 +01:00 committed by GitHub
parent 795c7c8a47
commit 3cfdf88063
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,4 +19,4 @@ specs = get_openapi_specs()
# Dump the specs into a JSON file
with open(f"openapi.json", "w") as f:
json.dump(specs, f)
json.dump(specs, f, indent=4)