Skip to main content

Jentic Apitools Analyze

Project description

Jentic API Tools - 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

pip install jentic-apitools-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

pytest tests -v

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jentic_apitools_analyze-1.0.0a10.tar.gz (28.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jentic_apitools_analyze-1.0.0a10-py3-none-any.whl (49.0 kB view details)

Uploaded Python 3

File details

Details for the file jentic_apitools_analyze-1.0.0a10.tar.gz.

File metadata

File hashes

Hashes for jentic_apitools_analyze-1.0.0a10.tar.gz
Algorithm Hash digest
SHA256 d0bee13245b5298fceafa7a8d08b5594af776f9a16cfa9c3671971b8043c1b12
MD5 e30b91ef7b23ff10d96b909ef24f96d0
BLAKE2b-256 f96f0c37350b5c8819ab5db0ad52f7f04d271ca295292336fc0c712fa57dee44

See more details on using hashes here.

File details

Details for the file jentic_apitools_analyze-1.0.0a10-py3-none-any.whl.

File metadata

File hashes

Hashes for jentic_apitools_analyze-1.0.0a10-py3-none-any.whl
Algorithm Hash digest
SHA256 8b8e6bb8e4ba4641c7d002a83627deb05967548d436d18b5d4b45cfc83453c3f
MD5 129f2d3e1e7085c5b30bce25977d09b9
BLAKE2b-256 1f67f7c0159a8b736e26040b1ec52f06383d5f82238f297e64f10a5a34faca7d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page