Data-spec-validator

Latest version: v3.5.0

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

3.5.0

-----
- [feature] add `NUMBER` that accepts float and integer

3.4.1

-----
- Fix `dsv` decorator to work with `DSVError`.
- Fix dsv_feature `spec_name` should not show empty value.

3.4.0

-----

Changes:

- Drop support for Python 3.6
- [feature] `dsv` decorator now have identical behavior for Django and DRF.
- [feature] new dsv_feature `spec_name` to customize the spec name in error messages.

3.3.0

-----

Changes:

- DEPRECATIONS: The decorators support to Django version 1.x and 2.x is dropped. The minimum supported version is Django 3.0.
- [feature] `dsv` decorator support loading payload from Django WSGIRequest for Content-Type: application/json

3.2.0

-----

Changes:

- [feature] `dsv` decorator support Django ASGIRequest class
- [feature] Support validating request data with non-python variable naming convention keys by the `alias' keyword in `Checker`

i.e. `/some/endpoint?a.b=3&c.d=ok&array[]=1&array[]=2&array[]=3`

3.1.0

-----

Changes:

- [feature] `dsv` decorator can support only Django Environment

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.