Index: vendor/api-platform/hydra/JsonSchema/SchemaFactory.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/vendor/api-platform/hydra/JsonSchema/SchemaFactory.php b/vendor/api-platform/hydra/JsonSchema/SchemaFactory.php
--- a/vendor/api-platform/hydra/JsonSchema/SchemaFactory.php
+++ b/vendor/api-platform/hydra/JsonSchema/SchemaFactory.php (date 1771249437456)
@@ -229,7 +229,7 @@
],
'example' => [
'@id' => 'string',
- 'type' => 'string',
+ '@type' => 'string',
$hydraPrefix.'first' => 'string',
$hydraPrefix.'last' => 'string',
$hydraPrefix.'previous' => 'string',
Hydra example type should be prefixed with a @
See Redocly linter failing test
See proposed patch
core/src/Hydra/JsonSchema/SchemaFactory.php
Line 232 in 4f6c4e1