You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -247,12 +247,12 @@ public KotlinSpringServerCodegen() {
247
247
" (contexts) added to single project.", beanQualifiers);
248
248
addSwitch(USE_SPRING_BOOT3, "Generate code and provide dependencies for use with Spring Boot 3.x. (Use jakarta instead of javax in imports). Enabling this option will also enable `useJakartaEe`.", useSpringBoot3);
249
249
addSwitch(USE_FLOW_FOR_ARRAY_RETURN_TYPE, "Whether to use Flow for array/collection return types when reactive is enabled. If false, will use List instead.", useFlowForArrayReturnType);
"Whether (when false) to return actual type (e.g. List<Fruit>) and handle non 2xx responses via exceptions or (when true) return entire ResponseEntity (e.g. ResponseEntity<List<Fruit>>)",
"Whether (when false) to return actual type (e.g. List<Fruit>) and handle non 2xx responses via exceptions or (when true) return entire ResponseEntity (e.g. ResponseEntity<List<Fruit>>)",
255
-
wrapResponsesForDeclarativeInterface);
255
+
declarativeInterfaceWrapResponses);
256
256
257
257
supportedLibraries.put(SPRING_BOOT, "Spring-boot Server application.");
258
258
supportedLibraries.put(SPRING_CLOUD_LIBRARY,
@@ -564,15 +564,15 @@ public void processOpts() {
564
564
thrownewIllegalArgumentException("Additional property '" + USE_FLOW_FOR_ARRAY_RETURN_TYPE + "' must be set to 'false' as it is not supported by Spring declarative HTTP interface");
565
565
}
566
566
}
567
-
if (additionalProperties.containsKey(DECLARATIVE_MODE_REACTIVE_MODE)) {
thrownewIllegalArgumentException("Invalid value for additional property '" + DECLARATIVE_MODE_REACTIVE_MODE + "'. Supported values are 'coroutines' and 'reactor'.");
575
+
thrownewIllegalArgumentException("Invalid value for additional property '" + DECLARATIVE_INTERFACE_REACTIVE_MODE + "'. Supported values are 'coroutines' and 'reactor'.");
0 commit comments