Openapi-core is a Python library that adds client-side and server-side support for the OpenAPI v3.0 and OpenAPI v3.1 specification.
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
RequestValidator
and ResponseValidator
backward compatibility #487Request
Response
factories check types fix #490UnmarshalContext
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