You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/Functional/OpenApiTest.php
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -69,13 +69,15 @@ public function testErrorsAreDocumented(): void
69
69
'type' => 'object',
70
70
'properties' => [
71
71
'title' => [
72
+
'readOnly' => true,
72
73
'description' => 'A short, human-readable summary of the problem.',
73
74
'type' => [
74
75
0 => 'string',
75
76
1 => 'null',
76
77
],
77
78
],
78
79
'detail' => [
80
+
'readOnly' => true,
79
81
'description' => 'A human-readable explanation specific to this occurrence of the problem.',
80
82
'type' => [
81
83
0 => 'string',
@@ -90,17 +92,20 @@ public function testErrorsAreDocumented(): void
90
92
'default' => 400,
91
93
],
92
94
'instance' => [
95
+
'readOnly' => true,
93
96
'description' => 'A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.',
94
97
'type' => [
95
98
0 => 'string',
96
99
1 => 'null',
97
100
],
98
101
],
99
102
'type' => [
103
+
'readOnly' => true,
100
104
'description' => 'A URI reference that identifies the problem type',
0 commit comments