I faced a similar problem in my project. Adding @TemplateData annotation on model class works as an workaround. The fix will probably be available in 3.17.3 Quarkus version.
@TemplateData
3.17.3