feat: complete phase 3 -- OpenAPI auto-discovery, SSRF protection, tool generation
- SSRF protection: private IP blocking, DNS rebinding defense, redirect validation - OpenAPI fetcher with SSRF guard, JSON/YAML auto-detection, 10MB limit - Structural spec validator (3.0.x/3.1.x) - Endpoint parser with $ref resolution, auto-generated operation IDs - Heuristic + LLM endpoint classifier with Protocol interface - Review API at /api/openapi (import, job status, classification CRUD, approve) - @tool code generator + Agent YAML generator - Import orchestrator (fetch -> validate -> parse -> classify pipeline) - 125 new tests, 322 total passing, 93.23% coverage
This commit is contained in:
2
backend/app/openapi/__init__.py
Normal file
2
backend/app/openapi/__init__.py
Normal file
@@ -0,0 +1,2 @@
|
||||
# OpenAPI auto-discovery module
|
||||
# Parses OpenAPI specs, classifies endpoints via LLM, generates tools
|
||||
Reference in New Issue
Block a user