0.15.0 #415
p1c2u
announced in
Announcements
0.15.0
#415
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Changelog
NoValuetype removed (Get rid of NoValue type #340)attrsremove and usedataclassesbackport for python 3.6 (Dataclasses refactor #345)pathableswitch to pathable #389create_specshortcut Get rid of create_spec shortcut #393RequestandResponseprotocols request and response protocols #407Backward incompatibilities
headersattribute added toOpenAPIResponsedatatypeRequestParameters'headerattribute asHeaderstypeRequestParameters'cookieattribute asImmutableMultiDicttypeRequestValidationResult'parametersattribute asParameterstypeserver,operationandpathattributes removed fromRequestValidationResultEmptyParameterValueexception renamed toEmptyQueryParameterValueFalconOpenAPIRequestFactoryrequires to be instantiatedcreate_specshortcut replaced withSpec.createOpenAPIRequestandOpenAPIResponseremoved. All backward compabilities fromcontribremoved.spec_validate_*shortcuts removed. Usevalidate_requestandvalidate_responsewithvalidatorparameter instead.validate_{parameters,body,security}shortcuts removed. Use predefinedopenapi_request_parameters_validator,openapi_request_body_validatorandopenapi_request_security_validatorfromopenapi_core.validation.requestinstead.validate_{data,headers}shortcuts removed. Use predefinedopenapi_response_data_validatorandopenapi_response_headers_validatorfromopenapi_core.validation.responseinstead.custom_media_type_deserializersparameter forRequestValidatorandResponseValidatorremoved. UseMediaTypeDeserializersFactorywithcustom_deserializersparameter and pass it to validator withmedia_type_deserializers_factoryparameter.custom_formattersparameter forRequestValidatorandResponseValidatorremoved. UseSchemaUnmarshallersFactorywithcustom_formattersparameter and pass it to validator.This discussion was created from the release 0.15.0.
Beta Was this translation helpful? Give feedback.
All reactions