1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-27 09:25:10 +03:00

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
commit 48300da443
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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