- Some minor on request debugger
This commit is contained in:
1 parent
c3e3d6a73a
commit
ba74c5a38e
17 files changed
+255
-202
No files matched your search
@@ -28,6 +28,7 @@ class FormDescriptor
|
||||
|
||||
$fields[] = [
|
||||
'name' => $property->name,
|
||||
'mandatory' => $field->object->mandatory,
|
||||
'description' => $field->object->description,
|
||||
'type' => $field->object->type ?? $types,
|
||||
'allowNulls' => $property->allowsNull(),
|
||||
@@ -35,6 +36,7 @@ class FormDescriptor
|
||||
'minLength' => $field->object->minLength ?? null,
|
||||
'maxLength' => $field->object->maxLength ?? null,
|
||||
'example' => $field->object->example ?? null,
|
||||
'default' => isset($field->object->default) ? json_encode($field->object->default) : null,
|
||||
'values' => $this->generateExampleValues($types),
|
||||
];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user