mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-02-07 05:21:53 -05:00
Merge pull request #1485 from adamoutler/patch-14
Update OpenAPI spec description with detailed info
This commit is contained in:
@@ -52,7 +52,15 @@ _rebuild_lock = threading.Lock()
|
||||
def generate_openapi_spec(
|
||||
title: str = "NetAlertX API",
|
||||
version: str = "2.0.0",
|
||||
description: str = "NetAlertX Network Monitoring API - Official Documentation - MCP Compatible",
|
||||
description: str = '''
|
||||
**NetAlertX Network Monitoring API - Official Documentation - MCP Compatible**
|
||||
|
||||
* **MCP endpoint**: `/mcp/sse`
|
||||
|
||||
* **OpenAPI Spec**: `/openapi.json`
|
||||
|
||||
Authorize with your API Key from the NetAlertX WebUI under `Settings > Core > General`
|
||||
''',
|
||||
servers: Optional[List[Dict[str, str]]] = None,
|
||||
flask_app: Optional[Any] = None
|
||||
) -> Dict[str, Any]:
|
||||
|
||||
Reference in New Issue
Block a user