mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-15 03:25:42 +00:00
Use neoteroi-mkdocs instead
- seems to render more reliably
This commit is contained in:
2
tasks.py
2
tasks.py
@ -898,6 +898,8 @@ def schema(c, filename='schema.yml', overwrite=False, ignore_warnings=False):
|
||||
"""Export current API schema."""
|
||||
check_file_existance(filename, overwrite)
|
||||
|
||||
filename = os.path.abspath(filename)
|
||||
|
||||
cmd = f'spectacular --file {filename} --validate --color'
|
||||
|
||||
if not ignore_warnings:
|
||||
|
Reference in New Issue
Block a user