Releases: python-openapi/openapi-core
Releases · python-openapi/openapi-core
0.13.1
0.13.0
Changelog
- Validation result datatypes (#165)
- OpenAPI request/response factories introduction (#166)
- Django OpenAPI request/response factories (#167)
- Schema exceptions refactor (#168)
- Operations fields (#169)
- Validation schema errors iter fix (#170)
- webob support (#173)
- CVE-2019-19844 fix (#182)
- Move Unmarshallers to separate subpackage (#183)
- Flask OpenAPI view & decorator (#177)
- Flask OpenAPI request parameters (#185)
- Move casters to separate subpackage (#184)
- Move schema validator to separate subpackage (#186)
- Move unmarshal out of schema models (#188)
- Deserialise models without schema fix (#190)
- Move deserialize/cast out of schema models (#191)
- Custom media type deserializers (#192)
- Missing Info models (#193)
- Free-form objects unmarshal (#194)
- Security validation with API Key and HTTP security types support (#195)
- Missing path model fields (#196)
- OpenAPI request datatype refactor (#197)
- readOnly and writeOnly support (#152)
Backward incompatibility
- new datatype
RequestParameters
. That meansparameters
inRequestValidationResult
is no longerdict
type but you can still access parameter types (path, query, heder, cookie) lika a dict. validate_body
,validate_parameters
andvalidate_data
no longer acceptwrapper_class
,request_wrapper_class
andresponse_wrapper_class
keyword arguments. Userequest_factory
andresponse_factory
instead.openapi_core.wrappers.flask
module moved toopenapi_core.contrib.flask
openapi_core.wrappers.mock
module moved toopenapi_core.testing.mock
- validation is now part of unmarshalling process
strict
parameter removed- standardized formatting process with
Formatter
class. Custom formatters should inherit from the class. - unmarshalling process no longer raise
InvalidMediaTypeValue
andInvalidParameterValue
exceptions - casting process no longer raise
InvalidParameterValue
exception - deserializing process no longer raise
InvalidMediaTypeValue
exception OpenAPIRequest
'shost_url
andpath_pattern
attributes replaced withfull_url_pattern
attribute
0.12.0
0.11.1
0.11.0
openapi-core 0.11 is the last major version with schema validation based on internal validators (object validators). Next major versions is scheduled to be based on jsonschema validators (OAS Validator).
Changelog
0.10.0
openapi-core 0.10 is the last major version with Python 3.4 support