Openapi-core is a Python library that adds client-side and server-side support for the OpenAPI v3.0 and OpenAPI v3.1 specification.
BSD-3-CLAUSE License
Bot releases are visible (Hide)
Published by p1c2u 8 months ago
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
Published by p1c2u 8 months ago
This version focuses on OpenAPI app and support for binary requests and responses.
FormatUnmarshalError
Published by p1c2u 11 months ago
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 #710Published by p1c2u 12 months ago
Published by p1c2u about 1 year ago
FalconOpenAPIMiddleware
, FlaskOpenAPIView
, FlaskOpenAPIViewDecorator
) #623Published by p1c2u over 1 year ago
This 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
parameterPublished by p1c2u over 1 year ago
This 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
parameterPublished by p1c2u over 1 year ago
validate_request
and validate_response
show deprecation warning on return value use only #589Published by p1c2u over 1 year ago
Published by p1c2u over 1 year ago
ParametersError
context property deprecated #462Spec.create
deprecated #463UnmarshalContext
to ValidationContext
#472PATH_PARAMETER_PATTERN
for DRF default value pattern. #468RequestValidator
and ResponseValidator
backward compatibility #487Request
Response
factories check types fix #490Invalid*
exception (InvalidData
, InvalidParameter
, InvalidRequestBody
, InvalidHeader
). Use __cause__
property to get root cause exception.InvalidSecurity
exception renamed to SecurityNotFound
Published by p1c2u over 1 year ago
Published by p1c2u over 1 year ago
Published by p1c2u over 1 year ago
RequestValidator
and ResponseValidator
backward compatibility #487Request
Response
factories check types fix #490Published by p1c2u over 1 year ago
UnmarshalContext
to ValidationContext
#472request
parameter for validate_request
shortcut function moved to first positionrequest
and response
parameters for validate_response
shortcut function moved to first and second positionInvalid*
exception (InvalidData
, InvalidParameter
, InvalidRequestBody
, InvalidHeader
). Use __cause__
property to get root cause exception.InvalidSecurity
exception renamed to SecurityNotFound
Published by p1c2u almost 2 years ago
Published by p1c2u almost 2 years ago
Published by p1c2u almost 2 years ago
Published by p1c2u almost 2 years ago
Published by p1c2u about 2 years ago