0.15.0a2
Pre-release
Pre-release
Changelog
Request
andResponse
protocols #407- validator factories removed from validation shortcuts #408
- Predefined openapi validators #409
- Customization refactor #412
Backward incompatibilities
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.