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.0a21.tar.gz (31.1 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.0a21-py3-none-any.whl (51.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for jentic_apitools_analyze-1.0.0a21.tar.gz
Algorithm Hash digest
SHA256 9c027c2a95bee566d332f276806df70a3428e9be92365b6d42236aaafbb87f66
MD5 0c1fb33f5a7bf6dfe4a7ad1ef46993a3
BLAKE2b-256 eeb7679653b8079b1ae50c2c77507190bb933a5307f918259ee4870b2c122ebc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jentic_apitools_analyze-1.0.0a21-py3-none-any.whl
Algorithm Hash digest
SHA256 45fd1ffab046934f476d289a136e33074407d32cc75b7092db66f6b006218b90
MD5 51cfa4228f0ae5c984750f736b55a63f
BLAKE2b-256 3c7abf36d2d2fa1c41b16f075eb44def8b1a9f65398a5effef863817b2386a80

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