aubergine-developers / nadia

Small and lightweight library for creating marshmallow Schemas for objects defined in OpenAPI 3 specs.
MIT License
1 stars 0 forks source link

Implementing validators #11

Open dexter2206 opened 5 years ago

dexter2206 commented 5 years ago

OAS defines some additional constraints that can be placed on elements of schemas, such as minimum value, the range of the number of items etc. We should implement such validators suitable for usage with marshmallow.fields.

Some validators are already present in marshmallow.validate, others have to be implemented by us. Here is a summary of the situation: