./textproc/py-openapi-core, Client-side and server-side support for the OpenAPI Specification v3

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.19.4, Package name: py312-openapi-core-0.19.4, Maintainer: pkgsrc-users

Openapi-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: 106.538 KB

Version history: (Expand)


CVS history: (Expand)


   2024-04-11 09:58:04 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-openapi-core: updated to 0.19.1

0.19.1

Features

Path finder cls configuration

Bug fixes

Invalid usage of super() when having multi-baseclass inheritance
Fix content-type when no space after semicolon
Protocols body and data attributes docstrings fix
   2024-02-21 20:53:03 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
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) | Package updated
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) | Package updated
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) | Package updated
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) | Package updated
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) | Package updated
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