This commit is contained in:
IGNY8 VPS (Salman)
2025-12-07 05:10:07 +00:00
parent 6c4415ab16
commit 46fc6dcf04

View File

@@ -34,6 +34,11 @@ def postprocess_schema_filter_tags(result, generator, request, public):
for path, methods in result['paths'].items():
for method, operation in methods.items():
if isinstance(operation, dict) and 'tags' in operation:
# Explicitly exclude system webhook from tagging/docs grouping
if '/system/webhook' in path:
operation['tags'] = []
continue
# Keep only explicit tags from the operation
filtered_tags = [
tag for tag in operation['tags']