summaryrefslogtreecommitdiff
path: root/tests/files/success/test_required.yaml
blob: 978784343df90d0c89d5d191526dd4ac086fa479 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
name: required1
desc: Test that req and required works
data:
  name: foo
  foo: bar
schema:
  type: map
  mapping:
    name:
      type: str
      req: True
    foo:
      type: str
      required: True