Openapi-core is a Python library that adds client-side and server-side support for the OpenAPI v3.0 and OpenAPI v3.1 specification.
This version focuses on OpenAPI app and support for binary requests and responses.
SchemaPath
from jsonschema-path package #690mimetype
with content_type
to include content parameters #699Spec
class is deprecated. Use SchemaPath
from jsonschema-path package.request_class
/response_class
renamed to request_cls
/response_cls
in unmarshalling processors (Django, Falcon and Flask integrations) #667ParameterDeserializersFactory
renamed to StyleDeserializersFactory
#676Spec
object creation and moved to be part of OpenAPI
object creation. #686 #716Request
and Response
protocols' mimetype
attribute replaced with content_type
#699Request
protocol's body
attribute returns bytes instead of str #710Response
protocol's data
attribute returns bytes instead of str #710FormatUnmarshalError
This version focuses on OpenAPI app and support for binary requests and responses.
FormatUnmarshalError
This version focuses on OpenAPI app and support for binary requests and responses.
SchemaPath
from jsonschema-path package #690mimetype
with content_type
to include content parameters #699Spec
class is deprecated. Use SchemaPath
from jsonschema-path package.request_class
/response_class
renamed to request_cls
/response_cls
in unmarshalling processors (Django, Falcon and Flask integrations) #667ParameterDeserializersFactory
renamed to StyleDeserializersFactory
#676Spec
object creation and moved to be part of OpenAPI
object creation. #686 #716Request
and Response
protocols' mimetype
attribute replaced with content_type
#699Request
protocol's body
attribute returns bytes instead of str #710Response
protocol's data
attribute returns bytes instead of str #710This version drops support for Python 3.7
spec_url
parameter of Spec.from_dict
is deprecated. Use base_uri
instead. #597ref_resolver_handlers
parameter of Spec.from_dict
is deprecated. Use handlers
instead. #597Spec.create
methodspec
as a first parameter for validate_request
and validate_response
shortcutsvalidator
parameter for validate_request
and validate_response
shortcutsvalidate_request
and validate_response
shortcutsRequestValidator
, ResponseValidator
and openapi_
objectscustom_deserializers
parametercustom_formatters
parameterThis version drops support for Python 3.7
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.Spec.create
methodspec
as a first parameter for validate_request
and validate_response
shortcutsvalidator
parameter for validate_request
and validate_response
shortcutsvalidate_request
and validate_response
shortcutsRequestValidator
, ResponseValidator
and openapi_
objectscustom_deserializers
parametercustom_formatters
parameter