add indention to swagger docs

this will make it easier to spot changes as our APIs change
This commit is contained in:
Ryan Petrello 2018-02-08 10:42:34 -05:00
parent 01c6463b1b
commit 5b9dc41015
No known key found for this signature in database
GPG Key ID: F2AA5F2122351777

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)
))