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
Copy file name to clipboardExpand all lines: modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/KotlinSpringServerCodegen.java
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -208,6 +208,7 @@ public KotlinSpringServerCodegen() {
208
208
" (contexts) added to single project.", beanQualifiers);
209
209
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);
210
210
addSwitch(APPEND_REQUEST_TO_HANDLER, "Append ServerHttpRequest to handler method for getting request stuff", false);
211
+
addSwitch(CodegenConstants.SERIALIZABLE_MODEL, "toggle \"implements Serializable\" for generated models", null);
211
212
supportedLibraries.put(SPRING_BOOT, "Spring-boot Server application.");
212
213
supportedLibraries.put(SPRING_CLOUD_LIBRARY,
213
214
"Spring-Cloud-Feign client with Spring-Boot auto-configured settings.");
Copy file name to clipboardExpand all lines: modules/openapi-generator/src/test/java/org/openapitools/codegen/kotlin/spring/KotlinSpringServerCodegenTest.java
+35-1Lines changed: 35 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -115,6 +115,7 @@ public void testSettersForConfigValues() throws Exception {
0 commit comments