mirror of
https://github.com/ansible/awx.git
synced 2026-03-24 12:25:01 -02:30
* Fix API documentation rendering related #15116 * Fix tests and formatting issues #15116
This commit is contained in:
@@ -162,9 +162,9 @@ def get_view_description(view, html=False):
|
||||
|
||||
def get_default_schema():
|
||||
if settings.SETTINGS_MODULE == 'awx.settings.development':
|
||||
from awx.api.swagger import AutoSchema
|
||||
from awx.api.swagger import schema_view
|
||||
|
||||
return AutoSchema()
|
||||
return schema_view
|
||||
else:
|
||||
return views.APIView.schema
|
||||
|
||||
|
||||
Reference in New Issue
Block a user