mirror of
https://github.com/ansible/awx.git
synced 2026-03-03 09:48:51 -03: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):
|
||||
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)
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user