Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 389 Bytes

comparableschema.md

File metadata and controls

11 lines (6 loc) · 389 Bytes

ComparableSchema

Overview

SugoiJS provides schema based validation using the ComparableSchema object.

ComparableSchema provide a way to verify data of any kind (primitive, array, map) by type, regex and numeric validation.
The Schema can be build using the ComparableSchema.builder() method.

The ComparableSchema is used with Sugoi/server @RequestSchemaPolicy decorator.