You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
headers attribute added to OpenAPIResponse datatype
RequestParameters' header attribute as Headers type
RequestParameters' cookie attribute as ImmutableMultiDict type
RequestValidationResult' parameters attribute as Parameters type
unused server, operation and path attributes removed from RequestValidationResult
EmptyParameterValue exception renamed to EmptyQueryParameterValue
FalconOpenAPIRequestFactory requires to be instantiated
create_spec shortcut replaced with Spec.create
OpenAPIRequest and OpenAPIResponse removed. All backward compabilities fromcontrib removed.
spec_validate_* shortcuts removed. Use validate_request and validate_response with validator parameter instead.
validate_{parameters,body,security} shortcuts removed. Use predefined openapi_request_parameters_validator, openapi_request_body_validator and openapi_request_security_validator from openapi_core.validation.request instead.
validate_{data,headers} shortcuts removed. Use predefined openapi_response_data_validator and openapi_response_headers_validator from openapi_core.validation.response instead.
custom_media_type_deserializers parameter for RequestValidator and ResponseValidator removed. Use MediaTypeDeserializersFactory with custom_deserializers parameter and pass it to validator with media_type_deserializers_factory parameter.
custom_formatters parameter for RequestValidator and ResponseValidator removed. Use SchemaUnmarshallersFactory with custom_formatters parameter and pass it to validator.
This discussion was created from the release 0.15.0.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Changelog
NoValue
type removed (Get rid of NoValue type #340)attrs
remove and usedataclasses
backport for python 3.6 (Dataclasses refactor #345)pathable
switch to pathable #389create_spec
shortcut Get rid of create_spec shortcut #393Request
andResponse
protocols request and response protocols #407Backward incompatibilities
headers
attribute added toOpenAPIResponse
datatypeRequestParameters
'header
attribute asHeaders
typeRequestParameters
'cookie
attribute asImmutableMultiDict
typeRequestValidationResult
'parameters
attribute asParameters
typeserver
,operation
andpath
attributes removed fromRequestValidationResult
EmptyParameterValue
exception renamed toEmptyQueryParameterValue
FalconOpenAPIRequestFactory
requires to be instantiatedcreate_spec
shortcut replaced withSpec.create
OpenAPIRequest
andOpenAPIResponse
removed. All backward compabilities fromcontrib
removed.spec_validate_*
shortcuts removed. Usevalidate_request
andvalidate_response
withvalidator
parameter instead.validate_{parameters,body,security}
shortcuts removed. Use predefinedopenapi_request_parameters_validator
,openapi_request_body_validator
andopenapi_request_security_validator
fromopenapi_core.validation.request
instead.validate_{data,headers}
shortcuts removed. Use predefinedopenapi_response_data_validator
andopenapi_response_headers_validator
fromopenapi_core.validation.response
instead.custom_media_type_deserializers
parameter forRequestValidator
andResponseValidator
removed. UseMediaTypeDeserializersFactory
withcustom_deserializers
parameter and pass it to validator withmedia_type_deserializers_factory
parameter.custom_formatters
parameter forRequestValidator
andResponseValidator
removed. UseSchemaUnmarshallersFactory
withcustom_formatters
parameter and pass it to validator.This discussion was created from the release 0.15.0.
Beta Was this translation helpful? Give feedback.
All reactions