diff --git a/OpenApiPhp/ModelRegister.php b/OpenApiPhp/ModelRegister.php index 938fb6b..70ea59b 100644 --- a/OpenApiPhp/ModelRegister.php +++ b/OpenApiPhp/ModelRegister.php @@ -164,7 +164,7 @@ final class ModelRegister break; case 'xml': - $modelAnnotation = Util::createChild($annotation, OA\XmlContent, $properties); + $modelAnnotation = Util::createChild($annotation, OA\XmlContent::class, $properties); break; default: