Skip to content

Commit f9f339f

Browse files
committed
revert manual test
1 parent 6adf504 commit f9f339f

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

tests/manual/schema/person.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,18 @@
22
"$id": "Person",
33
"type": "object",
44
"properties": {
5+
"name": {
6+
"type": "string",
7+
"description": "The name of the person",
8+
"example": "Lawrence"
9+
},
510
"age": {
611
"type": "integer",
7-
"enum": [42, 10]
12+
"description": "The age of the person",
13+
"example": 42
814
}
9-
}
15+
},
16+
"required": [
17+
"name"
18+
]
1019
}

tests/manual/test.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
$generator = new ModelGenerator((new GeneratorConfiguration())
1010
->setNamespacePrefix('\\ManualSchema')
1111
->setImmutable(false)
12-
->setImplicitNull(true)
1312
);
1413

1514
$generator

0 commit comments

Comments
 (0)