Copilot commented on code in PR #6452:
URL: 
https://github.com/apache/incubator-kie-drools/pull/6452#discussion_r2351664173


##########
drools-model/drools-codegen-common/src/main/java/org/drools/codegen/common/GeneratedFileType.java:
##########
@@ -32,14 +32,12 @@ public interface GeneratedFileType {
     GeneratedFileType INTERNAL_RESOURCE = of(Category.INTERNAL_RESOURCE);
     GeneratedFileType STATIC_HTTP_RESOURCE = of(Category.STATIC_HTTP_RESOURCE);
     GeneratedFileType COMPILED_CLASS = of(Category.COMPILED_CLASS);
-
+    GeneratedFileType REST = of("REST", Category.SOURCE);
     GeneratedFileType RULE = of("RULE", Category.SOURCE);
 
     GeneratedFileType CONFIG = of("CONFIG", Category.SOURCE);
     GeneratedFileType DECLARED_TYPE = of("DECLARED_TYPE", Category.SOURCE);
 
-    GeneratedFileType REST = of("REST", Category.SOURCE, true, true);
-
     String name();

Review Comment:
   The REST type declaration was moved but changed from `of("REST", 
Category.SOURCE, true, true)` to `of("REST", Category.SOURCE)`. This removes 
two boolean parameters that may be significant for the REST type's behavior. 
Verify this change doesn't break REST functionality.



-- 
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