sadasd
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user