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.0a18.tar.gz (30.8 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.0a18-py3-none-any.whl (51.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for jentic_apitools_analyze-1.0.0a18.tar.gz
Algorithm Hash digest
SHA256 8c1ba2451361cbdd1483a0aec90202043ba5ec0f00dc4584ee3e89a9c6fcea6a
MD5 f7ce55e52e15445205e32b5592ea03cb
BLAKE2b-256 7d938e2550e86adfc31fec00629acd3e0496390e03a03dac915b9b337f9a7bd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jentic_apitools_analyze-1.0.0a18-py3-none-any.whl
Algorithm Hash digest
SHA256 c913ff3b8004f59994f6e61c1d4e4cb1798ef350ca9013420c9242ce543e5ee0
MD5 9094cb6fe65902edbbadf838b9e1fb4f
BLAKE2b-256 9c6aeaa2d14e3404a0adb08acf53ec64567487e5b1c51b164a28b81a9c7be11b

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