refactor(specs): rename x-propertyNames/x-mapping to x-discriminator-properties/x-union-typemap

This commit is contained in:
Chirag Aggarwal
2026-04-16 13:32:05 +05:30
parent 98ec9e45c4
commit 05d70f8826
+2 -2
View File
@@ -434,8 +434,8 @@ abstract class Format
return \array_filter([
'propertyName' => $primaryKey,
'mapping' => !empty($primaryMapping) ? $primaryMapping : null,
'x-propertyNames' => $allKeys,
'x-mapping' => $compoundMapping,
'x-discriminator-properties' => $allKeys,
'x-union-typemap' => $compoundMapping,
]);
}