avifors
Version:
A MDE tool that generates code from a YAML definition of your app domain model.
19 lines (18 loc) • 363 B
YAML
entity:
name: Bunny
resource: /bunny
properties:
-
name: name
type: string
description: Name of the bunny
-
name: weight
type: number
description: Weight of the bunny
-
name: fluffiness
type: number
description: Fluffiness of the bunny
constraints:
- .constraints.between(0,1)