Skip to content
Snippets Groups Projects
Commit b7098439 authored by Björn Brala's avatar Björn Brala
Browse files

Issue #3232279 by luuph, acbramley, budalokko, osopolar, bbrala, shadcn,...

Issue #3232279 by luuph, acbramley, budalokko, osopolar, bbrala, shadcn, dgsiegel, zhezhangrandy, floWweb, ptmkenny, gueguerreiro, Rene Bakx, dmitry.korkhau: Invalid output JSON schema in UrlLinkEnhancer
parent 36c18624
No related branches found
No related tags found
No related merge requests found
Pipeline #18382 passed with warnings
......@@ -141,8 +141,18 @@ class UrlLinkEnhancer extends ResourceFieldEnhancerBase implements ContainerFact
'type' => 'object',
'properties' => [
'uri' => ['type' => 'string'],
'title' => ['type' => 'string'],
'options' => ['type' => 'array'],
'title' => [
'anyOf' => [
['type' => 'null'],
['type' => 'string'],
],
],
'options' => [
'anyOf' => [
['type' => 'array'],
['type' => 'object'],
],
],
'url' => ['type' => 'string'],
],
];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment