{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/3"}],"enrichment":{"capability":"Provides Pydantic classes that map to the OpenAPI v3 specification schema, enabling programmatic construction and validation of OpenAPI documents.","skillfed_tags":["openapi","api-specification","schema-validation"],"use_cases":["Generate OpenAPI specs programmatically from Python code instead of maintaining separate YAML/JSON files.","Validate OpenAPI documents at runtime using Pydantic's built-in validation before publishing or serving them.","Embed Pydantic model schemas into OpenAPI definitions to keep request/response types in sync with your code.","Build API documentation tooling that constructs OpenAPI specs from Python function signatures and type hints.","Migrate or transform existing OpenAPI specs by parsing them into Pydantic objects, modifying them, and re-serializing."],"what_it_does":"openapi-schema-pydantic wraps the OpenAPI v3 specification as a set of Pydantic data classes, letting you build and validate OpenAPI documents programmatically in Python. Instead of hand-writing JSON or YAML specs, you instantiate Pydantic objects (OpenAPI, Info, Operation, Response, etc.) that follow the official schema naming and structure, then serialize them to spec-compliant JSON or dict.\n\nThe package leverages Pydantic's validation and schema generation to handle the complexity of OpenAPI's nested structure. It supports both object-oriented construction and mixed dict/object input, and includes utilities to embed Pydantic model schemas directly into OpenAPI documents as JSON Schema references. It offers both OpenAPI 3.1.0 and 3.0.3 versions via separate import paths.","worth_installing":"Yes, with conditions. The package is stable and widely used, but maintenance is dormant\u2014last release was 2022-06-29. Install it if you need to work with OpenAPI specs in Python and can tolerate slow or no updates. Verify compatibility with your Pydantic version and confirm that OpenAPI 3.0.3 or 3.1.0 support meets your needs. No known security vulnerabilities."},"id":"openapi-schema-pydantic","links":{"html":"https://skillfed.io/packages/openapi-schema-pydantic","md":"https://skillfed.io/packages/openapi-schema-pydantic.md","pypi":"https://pypi.org/project/openapi-schema-pydantic/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2022-06-29","license_spdx":null,"license_treatment":"permissive","name":"openapi-schema-pydantic","python_support":"supports_current","summary":"OpenAPI (v3) specification schema as pydantic class"},"popularity":{"monthly_downloads":1085006,"position":4387,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.2.4"}
