mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
add indention to swagger docs
this will make it easier to spot changes as our APIs change
This commit is contained in:
@@ -184,5 +184,5 @@ class TestSwaggerGeneration():
|
|||||||
def teardown_class(cls):
|
def teardown_class(cls):
|
||||||
with open('swagger.json', 'w') as f:
|
with open('swagger.json', 'w') as f:
|
||||||
f.write(force_bytes(
|
f.write(force_bytes(
|
||||||
json.dumps(cls.JSON, cls=i18nEncoder)
|
json.dumps(cls.JSON, cls=i18nEncoder, indent=2)
|
||||||
))
|
))
|
||||||
|
|||||||
Reference in New Issue
Block a user