mirror of
https://github.com/ansible/awx.git
synced 2026-06-29 18:38:02 -02:30
add support for building swagger/OpenAPI JSON
to build, run `make swagger`; a file named `swagger.json` will be written to the current working directory
This commit is contained in:
@@ -218,6 +218,7 @@ TEMPLATES = [
|
||||
('django.template.loaders.filesystem.Loader',
|
||||
'django.template.loaders.app_directories.Loader',),
|
||||
)],
|
||||
'builtins': ['awx.main.templatetags.swagger'],
|
||||
},
|
||||
'DIRS': [
|
||||
os.path.join(BASE_DIR, 'templates'),
|
||||
|
||||
Reference in New Issue
Block a user