Skip to main content

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


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-0.0.0a9.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-0.0.0a9-py3-none-any.whl (48.9 kB view details)

Uploaded Python 3

File details

Details for the file jentic_apitools_analyze-0.0.0a9.tar.gz.

File metadata

File hashes

Hashes for jentic_apitools_analyze-0.0.0a9.tar.gz
Algorithm Hash digest
SHA256 8c94e67653a39dc681cf93ef2351cf616b66c96fbbbf7e3275ca3b8302b3c916
MD5 36b65dfb450ba3617ffc79a832b37f7b
BLAKE2b-256 22a86c6cd07980e1f78308c6f4ba49ee94af40b570d33d92456f31e8040a5e06

See more details on using hashes here.

File details

Details for the file jentic_apitools_analyze-0.0.0a9-py3-none-any.whl.

File metadata

File hashes

Hashes for jentic_apitools_analyze-0.0.0a9-py3-none-any.whl
Algorithm Hash digest
SHA256 2b93b02c99c9b3fdfd75e1bf1914f249756a0067c1baa1498d5139b9c7a54818
MD5 0e2449ffd7d2262d4a7edb977c76a922
BLAKE2b-256 31f3534a4e071b1f62ddab51461d7d7010490cf8a6883769d227e41d6d7df0d8

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