Merge pull request #1163 from ryanpetrello/swagger

add indention to swagger docs
This commit is contained in:
Shane McDonald
2018-02-08 10:52:47 -05:00
committed by GitHub

View File

@@ -184,5 +184,5 @@ class TestSwaggerGeneration():
def teardown_class(cls):
with open('swagger.json', 'w') as f:
f.write(force_bytes(
json.dumps(cls.JSON, cls=i18nEncoder)
json.dumps(cls.JSON, cls=i18nEncoder, indent=2)
))