insaint03 / apidocs

api documentation
Other
0 stars 0 forks source link

[model][template] body type constraints update #40

Closed insaint03 closed 5 days ago

insaint03 commented 1 week ago

run type constraints/hints such as:

/**
 * refer 
 *  - /models/datatype.js; constraint_filters
 *  - /models/patterns.js; type_constraint_parse, type_constraint_serialize
 **/

// which are inherits the type
- `/` inherits: datatype
// which contains the type in its items property
- `@` contains: datatype
// exact the type
- `!` datatype
// has keyname (~is not a datatype) in its items property
- `#` keyname