Skip to content

Commit 404b0f4

Browse files
committed
description updated
1 parent 2f1d379 commit 404b0f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.DS_Store

0 Bytes
Binary file not shown.

analyzer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1783,7 +1783,7 @@ def analyze_openapi_spec(spec: dict) -> Dict[str, Any]:
17831783
"Monitoring": monitoring_suggestions,
17841784
"Code Generation": codegen_suggestions,
17851785
"Governance": governance_suggestions,
1786-
"Basic Validation": [s for s in suggestions if s not in security_suggestions + performance_suggestions + design_suggestions + versioning_suggestions + doc_suggestions + compliance_suggestions + testing_suggestions + monitoring_suggestions + codegen_suggestions + governance_suggestions]
1786+
"Basic Validation": [s for s in [s for s in suggestions if s not in security_suggestions + performance_suggestions + design_suggestions + versioning_suggestions + doc_suggestions + compliance_suggestions + testing_suggestions + monitoring_suggestions + codegen_suggestions + governance_suggestions] if len(s) < 500 and not any(indicator in s for indicator in ["Spec validation:", "Failed validating", "do not match any of the regexes", "additionalProperties", "patternProperties", "Proxy at 0x", "functools.partial", "get_schema_content"])]
17871787
}
17881788

17891789
# Remove empty categories
@@ -2147,7 +2147,7 @@ def analyze_openapi_url(url: str) -> Dict[str, Any]:
21472147
"Monitoring": monitoring_suggestions,
21482148
"Code Generation": codegen_suggestions,
21492149
"Governance": governance_suggestions,
2150-
"Basic Validation": [s for s in suggestions if s not in security_suggestions + performance_suggestions + design_suggestions + versioning_suggestions + doc_suggestions + compliance_suggestions + testing_suggestions + monitoring_suggestions + codegen_suggestions + governance_suggestions]
2150+
"Basic Validation": [s for s in [s for s in suggestions if s not in security_suggestions + performance_suggestions + design_suggestions + versioning_suggestions + doc_suggestions + compliance_suggestions + testing_suggestions + monitoring_suggestions + codegen_suggestions + governance_suggestions] if len(s) < 500 and not any(indicator in s for indicator in ["Spec validation:", "Failed validating", "do not match any of the regexes", "additionalProperties", "patternProperties", "Proxy at 0x", "functools.partial", "get_schema_content"])]
21512151
}
21522152

21532153
# Remove empty categories

0 commit comments

Comments
 (0)