From cd9778fae6d7ccdcaffc4f7fd26e786be7614ae0 Mon Sep 17 00:00:00 2001 From: "Badr.NassLahsen" Date: Sun, 23 Jun 2024 12:48:40 +0200 Subject: [PATCH] Kotlin enums are always marked as required if used in Java controllers. Fixes #2622 --- .../pom.xml | 30 +++++++++++++++++++ .../springdoc/api/app12/SpringDocApp12Test.kt | 0 2 files changed, 30 insertions(+) rename springdoc-openapi-tests/springdoc-openapi-kotlin-webmvc-tests/src/test/{java => kotlin}/test/org/springdoc/api/app12/SpringDocApp12Test.kt (100%) diff --git a/springdoc-openapi-tests/springdoc-openapi-kotlin-webmvc-tests/pom.xml b/springdoc-openapi-tests/springdoc-openapi-kotlin-webmvc-tests/pom.xml index 745ee023f..14818297f 100644 --- a/springdoc-openapi-tests/springdoc-openapi-kotlin-webmvc-tests/pom.xml +++ b/springdoc-openapi-tests/springdoc-openapi-kotlin-webmvc-tests/pom.xml @@ -78,6 +78,36 @@ + + org.apache.maven.plugins + maven-compiler-plugin + + + + default-compile + none + + + + default-testCompile + none + + + java-compile + compile + + compile + + + + java-test-compile + test-compile + + testCompile + + + + \ No newline at end of file diff --git a/springdoc-openapi-tests/springdoc-openapi-kotlin-webmvc-tests/src/test/java/test/org/springdoc/api/app12/SpringDocApp12Test.kt b/springdoc-openapi-tests/springdoc-openapi-kotlin-webmvc-tests/src/test/kotlin/test/org/springdoc/api/app12/SpringDocApp12Test.kt similarity index 100% rename from springdoc-openapi-tests/springdoc-openapi-kotlin-webmvc-tests/src/test/java/test/org/springdoc/api/app12/SpringDocApp12Test.kt rename to springdoc-openapi-tests/springdoc-openapi-kotlin-webmvc-tests/src/test/kotlin/test/org/springdoc/api/app12/SpringDocApp12Test.kt