martinweiler commented on code in PR #4321:
URL: 
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4321#discussion_r3455720984


##########
kogito-codegen-modules/kogito-codegen-decisions/src/main/java/org/kie/kogito/codegen/decision/DecisionCodegen.java:
##########
@@ -60,33 +61,40 @@ public class DecisionCodegen extends AbstractGenerator {
     /**
      * (boolean) generate java classes to support strongly typed input 
(default false)
      */
-    public static String STRONGLY_TYPED_CONFIGURATION_KEY = 
"kogito.decisions.stronglytyped";
+    @KieProperty(type = "boolean", defaultValue = "false", allowedValues = 
"true,false")
+    public static final String STRONGLY_TYPED_CONFIGURATION_KEY = 
"kogito.decisions.stronglytyped";
     /**
      * model validation strategy; possible values: ENABLED, DISABLED, IGNORE; 
(default ENABLED)
      */
-    public static String VALIDATION_CONFIGURATION_KEY = 
"kogito.decisions.validation";
+    @KieProperty(type = "string", defaultValue = "ENABLED", allowedValues = 
"ENABLED,DISABLED,IGNORE")
+    public static final String VALIDATION_CONFIGURATION_KEY = 
"kogito.decisions.validation";
 
     /**
      * (string) kafka bootstrap server address
      */
+    @KieProperty(type = "string")

Review Comment:
   `default = "" (empty)`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to