- Some minor on request debugger

This commit is contained in:
Dave Mc Nicoll committed 2026-01-12 21:18:10 +00:00
1 parent c3e3d6a73a
commit ba74c5a38e
17 files changed
+255 -202

No files matched your search

+2
View File
@@ -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),
];
}