./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-12-10 08:55:28 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-openapi-core: allow Python 3.13

Now that py-falcon supports it.

Update test dependencies and test status.
   2024-11-26 13:42:22 by Nia Alarie | Files touched by this commit (3)
Log message:
py-falcon: Broken with Python 3.13, uses deprecated cgi module
   2024-10-14 08:46:10 by Thomas Klausner | Files touched by this commit (325)
Log message:
*: clean-up after python38 removal
   2024-09-07 07:37:53 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-openapi-core: updated to 0.19.4

0.19.4

Features

Starlette 0.38.x support

Bug fixes

Fix resolvers not updating properly when referencing other files.
Fix RequestUnmarshalResult body type
Fix Starlette streaming response for HTTPMiddleware
   2024-08-20 13:13:16 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-openapi-core: updated to 0.19.3

0.19.3

Bug fixes

Fix resolver for jsonschema validator created by SchemaValidatorsFactory
Use base_uri from schema path for spec validation
Openapi 3.0 unmarshalling None with nullable subschema fix

Deprecations

spec_base_uri configuration is deprecated. Use base_uri parameter in \ 
OpenAPI.from_dict and OpenAPI.from_file if you want to define it.
   2024-06-13 07:17:06 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-openapi-core: updated to 0.19.2

0.19.2

Falcon multi-value query parameters fix
Fix a DeprecationWarning from aiohttp in TestPetPhotoView
Fix hyphen characters in path parameters
   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