Skip to main content

Jentic OpenAPI Data Models

Project description

jentic-openapi-datamodels

Low-level and high-level data models for OpenAPI specifications.

Overview

This package provides data model classes for representing OpenAPI specification objects in Python. The models are designed to be:

  • Dict-like: Implement MutableMapping for easy data access
  • Unvalidated: Separate parsing from validation for performance
  • Extensible: Support OpenAPI specification extensions (x-* fields)
  • Version-aware: Currently implements OpenAPI 3.0.x (3.1.x planned)

Structure

  • datamodels.low.v30: Low-level models for OpenAPI 3.0.x

Usage

from jentic.apitools.openapi.datamodels.low.v30 import Schema

# Create a schema from raw data
schema = Schema({
    "type": "object",
    "properties": {
        "name": {"type": "string"}
    }
})

# Access via properties
print(schema.type)  # "object"

# Access via dict
print(schema["type"])  # "object"

# Convert back to dict
data = schema.to_mapping()

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 Distribution

jentic_openapi_datamodels-1.0.0a11.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

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

jentic_openapi_datamodels-1.0.0a11-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

Details for the file jentic_openapi_datamodels-1.0.0a11.tar.gz.

File metadata

File hashes

Hashes for jentic_openapi_datamodels-1.0.0a11.tar.gz
Algorithm Hash digest
SHA256 753cb743e7f09e462b473377bdd8eb84ce45f6d742231f322ef1989365c45502
MD5 13d7b78c48074bfb0b85c74eb12393e8
BLAKE2b-256 1b8726d2bdf4bf5dcfe435f1544c6d7f2ded8c273bd49eec381ff7a1f7b40b60

See more details on using hashes here.

Provenance

The following attestation bundles were made for jentic_openapi_datamodels-1.0.0a11.tar.gz:

Publisher: release.yml on jentic/jentic-openapi-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file jentic_openapi_datamodels-1.0.0a11-py3-none-any.whl.

File metadata

File hashes

Hashes for jentic_openapi_datamodels-1.0.0a11-py3-none-any.whl
Algorithm Hash digest
SHA256 507bb90cfe9d876a833692959284d75085e127e6702926b9f87a075f1e1ef3f3
MD5 7ed8a837cae6ee881eb074a70334d3b7
BLAKE2b-256 890207da477dba85c900b176fdf69b12f2c57053dfde9333a12fd7852a4eec54

See more details on using hashes here.

Provenance

The following attestation bundles were made for jentic_openapi_datamodels-1.0.0a11-py3-none-any.whl:

Publisher: release.yml on jentic/jentic-openapi-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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