mirror of
https://github.com/opnsense/docs.git
synced 2026-05-28 04:02:12 -04:00
collect_api_endpoints.py - skip empty endpoints (unknown contents)
This commit is contained in:
parent
935ba27550
commit
37119d5626
2 changed files with 2 additions and 5 deletions
|
|
@ -58,6 +58,8 @@ if __name__ == '__main__':
|
|||
'controllers': []
|
||||
}
|
||||
for controller in all_modules[module_name]:
|
||||
if len(controller.actions) == 0:
|
||||
continue
|
||||
payload = {
|
||||
'type': controller.type,
|
||||
'module': controller.module,
|
||||
|
|
|
|||
|
|
@ -70,11 +70,6 @@ Diagnostics
|
|||
"``GET``","diagnostics","interface","search_arp",""
|
||||
"``GET``","diagnostics","interface","search_ndp",""
|
||||
|
||||
.. csv-table:: Resources (LogController.php)
|
||||
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
||||
:widths: 4, 15, 15, 30, 40
|
||||
|
||||
|
||||
.. csv-table:: Resources (LvtemplateController.php)
|
||||
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
||||
:widths: 4, 15, 15, 30, 40
|
||||
|
|
|
|||
Loading…
Reference in a new issue