Jentic Apitools Analyze
Project description
analyze
Multi-backend OpenAPI validation using Redocly, Spectral, Speclynx, and optional LLM-powered semantic analysis. Produces unified diagnostics with severity, source, and structured metadata.
Key Features
The OpenAPIAnalyzer class validates specs against multiple backends in parallel. Redocly checks standards compliance, Spectral applies linting rules, the Speclynx backend uses the ApiDOM engine with custom JavaScript plugins for reference resolution analysis, and the optional semantic backend uses LLMs to evaluate description clarity. Each backend produces JenticDiagnostic objects with consistent severity levels. Error handling wraps each backend so failures don't block others.
Dependencies
Internal: jentic.apitools.common, jentic.apitools.llm. External: jentic-openapi-validator (with redocly, spectral, and speclynx backends), DeepDiff.
Installation
uv add analyze
Quick Start
from jentic.apitools.analyze.openapi_analyzer import OpenAPIAnalyzer
from jentic.apitools.common.models import DiagnosticTarget
analyzer = OpenAPIAnalyzer()
diagnostics = analyzer.analyze(
"file:///path/to/spec.json",
base_url="https://api.example.com",
target=DiagnosticTarget.BUNDLED_SPEC,
)
print(f"Found {len(diagnostics)} issues")
Testing
uv run --package analyze pytest packages/analyze/tests -v
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jentic_apitools_analyze-0.0.0a7-py3-none-any.whl.
File metadata
- Download URL: jentic_apitools_analyze-0.0.0a7-py3-none-any.whl
- Upload date:
- Size: 48.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a9f6a03480ef73da5548dc614dd642ff70e80078b3bc7097c6334d8408064fb
|
|
| MD5 |
66eceac7026a437cb0839127fbaccc87
|
|
| BLAKE2b-256 |
c306665850c095d5a51890e0f4f4fac07f962e65e426b2421191a67bde761e8f
|