Path to this page:
./
textproc/py-openapi-core,
Client-side and server-side support for the OpenAPI Specification v3
Branch: CURRENT,
Version: 0.19.0,
Package name: py311-openapi-core-0.19.0,
Maintainer: pkgsrc-usersOpenapi-core is a Python library that adds client-side and server-side
support for the OpenAPI Specification v3.
Required to run:[
www/py-werkzeug] [
devel/py-more-itertools] [
textproc/py-jsonschema] [
time/py-isodate] [
devel/py-lazy-object-proxy] [
devel/py-typing-extensions] [
textproc/py-parse] [
lang/python310] [
textproc/py-openapi-spec-validator] [
textproc/py-openapi-schema-validator]
Master sites:
Filesize: 103.335 KB
Version history: (Expand)
- (2024-02-21) Updated to version: py311-openapi-core-0.19.0
- (2023-11-09) Updated to version: py311-openapi-core-0.18.2
- (2023-10-28) Updated to version: py311-openapi-core-0.18.1nb1
- (2023-09-17) Updated to version: py311-openapi-core-0.18.1
- (2023-08-27) Updated to version: py311-openapi-core-0.18.0
- (2023-05-15) Updated to version: py310-openapi-core-0.17.1
CVS history: (Expand)
2024-02-21 20:53:03 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-openapi-core: updated to 0.19.0
0.19.0
This version focuses on OpenAPI app and support for binary requests and responses.
Features
FastAPI integration
Mimetype parameters (i.e. charset) handling
Parameter deserializers renamed to Style deserializers
Unmarshalling processor enhancement
Option to skip response validation in Django, Falcon and Flask integrations
use explicit arguments (instead of kwargs) in Spec.from_dict and add short note \
in documentation how to use base_url for Spec.from_dict
Parameter and header get value refactor
Python 3.12 support
Bump openapi-spec-validator from 0.6.0 to 0.7.0
Use openapi-spec-validator spec version finder
Move to SchemaPath from jsonschema-path package
Specification validation as part of shortcuts
Style deserializing reimplementation with support for all styles
Media type encoding support
Replace mimetype with content_type to include content parameters
Suport for primitive properties casting of urlencoded objects.
Request response binary format support
Starlette middleware
OpenAPI app and high level integration
Bug fixes
aiohttp request host_url include scheme
aiohttp response body check none
Validate empty request body fix
Path finder returns default server
OpenAPI config passed to validators and unmarshallers fix
milti types schema format unmarshal fix
Deprecations
Spec class is deprecated. Use SchemaPath from jsonschema-path package.
Breaking changes
request_class/response_class renamed to request_cls/response_cls in \
unmarshalling processors (Django, Falcon and Flask integrations)
ParameterDeserializersFactory renamed to StyleDeserializersFactory
unmarshalling byte and binary formats return bytes
Specification validation is no longer part of Spec object creation and moved to \
be part of OpenAPI object creation.
Request and Response protocols' mimetype attribute replaced with content_type
Request protocol's body attribute returns bytes instead of str
Response protocol's data attribute returns bytes instead of str
Unmarshalling no longer raises FormatUnmarshalError
|
2023-11-09 19:59:14 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-openapi-core: updated to 0.18.2
0.18.2
Bug fixes
Deprecated spec validator fix + warnings resolved
|
2023-11-07 23:38:10 by Thomas Klausner | Files touched by this commit (112) |
Log message:
*: latest py-sphinx only support Python 3.9+
|
2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | |
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation
This follows the recommended bootstrap method (flit_core, build, installer).
However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
|
2023-09-17 11:03:14 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-openapi-core: updated to 0.18.1
0.18.1
Bug fixes
Ignore formats for other types in unmarshalling process
Features
More media types supported
Unmarshalling customizations in middlewares (FalconOpenAPIMiddleware, \
FlaskOpenAPIView, FlaskOpenAPIViewDecorator)
Documentation
Changed doc indentation from 3 to 4
|
2023-08-27 15:33:24 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-openapi-core: updated to 0.18.0
0.18.0
Upgrades
Compatibility with jsonschema 4.18, jsonschema-spec 0.2, \
openapi-schema-validator 0.6 and openapi-spec-validator 0.6
Update dependencies
Deprecations
spec_url parameter of Spec.from_dict is deprecated. Use base_uri instead.
ref_resolver_handlers parameter of Spec.from_dict is deprecated. Use handlers \
instead.
Backward incompatibilities
Drop python 3.7 support
Format validators ignore other types and pass (in accordance with the specification)
Remove deprecated features
Spec.create method
spec as a first parameter for validate_request and validate_response shortcuts
validator parameter for validate_request and validate_response shortcuts
return unmarshalling data result for validate_request and validate_response shortcuts
RequestValidator, ResponseValidator and openapi_ objects
custom_deserializersparameter
custom_formattersparameter
|
2023-05-15 22:33:32 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-openapi-core: updated to 0.17.1
0.17.1
Include tests in sdist archives
add python 3.11 support
0.17.0
shortcuts high level public api expose
ParametersError context property deprecated
Spec.create deprecated
Validators refactor
Webhooks support
Rename UnmarshalContext to ValidationContext
Fix PATH_PARAMETER_PATTERN for DRF default value pattern.
Fix falcon response data none
Shortcuts backward compatible
RequestValidator and ResponseValidator backward compatibility
Fix flask decorator function return other types
Fix integration Request Response factories check types fix
Fix Requests request dont allow fragments
Fix openapi packages update and tests
unmarshallers integration tests
Unmarshallers and validators refactor
Shortcuts refactor
Media type deserializers refactor
Backward incompatibilities
Schema unmarshalling/validation returns Invalid* exception (InvalidData, \
InvalidParameter, InvalidRequestBody, InvalidHeader). Use __cause__ property to \
get root cause exception.
InvalidSecurity exception renamed to SecurityNotFound
|
2022-10-28 11:43:22 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-openapi-core: updated to 0.16.1
0.16.1
lists as additional properties fix
x-model extension optional
0.16.0
Switch to jsonschema-spec
Use auto-detect validator proxy
OpenAPI 3.1 support + Auto-detect proxies and request / response validator protocols
Add py.typed to mark package as supporting typing
Refuse to cast str or bytes to array
x-model extension import model class
Add deepObject support
Add anyOf support
Separate werkzeug support
Starlette support
0.15.0
Parameter deserialize complex scenario support
Response headers support
Response headers support for contrib
Drop python 2.7 support
Drop python 3.5 support
Drop python 3.6 support
Add python 3.10 support
Falcon2 support drop
Django2 support drop
Support basic re_path for Django integration
unused NoValue type removed
attrs remove and use dataclasses backport for python 3.6
Request validation parameters dataclass
Handle missing MIME type in MediaTypeFinder
Limit openapi dependencies upper bounds
switch to pathable
Get rid of create_spec shortcut
Request and Response protocols
validator factories removed from validation shortcuts
Predefined openapi validators
Customization refactor
Static types with mypy
|