mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
Add checking of all endpoints defined in FTL but not in the OpenAPI specs and vice versa
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -15,7 +15,7 @@ import json
|
||||
class openApi():
|
||||
|
||||
# List of methods we want to extract
|
||||
METHODS = ["get", "post", "put", "delete"]
|
||||
METHODS = ["get", "post", "put", "patch", "delete"]
|
||||
|
||||
def __init__(self, base_path: str, api_root: str = "/api") -> None:
|
||||
# Store arguments
|
||||
|
||||
Reference in New Issue
Block a user