diff --git a/modules/openapi-generator/src/main/resources/JavaSpring/converter.mustache b/modules/openapi-generator/src/main/resources/JavaSpring/converter.mustache index b573b65fb0d4..90999bcd3e60 100644 --- a/modules/openapi-generator/src/main/resources/JavaSpring/converter.mustache +++ b/modules/openapi-generator/src/main/resources/JavaSpring/converter.mustache @@ -12,6 +12,8 @@ import {{modelPackage}}.{{classname}}; {{/model}} {{/models}} +import {{javaxPackage}}.annotation.Generated; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.converter.Converter; @@ -23,6 +25,8 @@ import org.springframework.core.convert.converter.Converter; * correct conversion if the OpenAPI specification is using an `enumPropertyNaming` other than * `original` or the specification has an integer enum. */ +{{>generatedAnnotation}} + @Configuration(value = "{{configPackage}}.enumConverterConfiguration") public class EnumConverterConfiguration { diff --git a/samples/openapi3/server/petstore/spring-boot-oneof-interface/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java b/samples/openapi3/server/petstore/spring-boot-oneof-interface/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java index 2bbba8e787e7..3f58e69d872f 100644 --- a/samples/openapi3/server/petstore/spring-boot-oneof-interface/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java +++ b/samples/openapi3/server/petstore/spring-boot-oneof-interface/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java @@ -6,6 +6,8 @@ import org.openapitools.model.FruitType; +import jakarta.annotation.Generated; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.converter.Converter; @@ -17,6 +19,7 @@ * correct conversion if the OpenAPI specification is using an `enumPropertyNaming` other than * `original` or the specification has an integer enum. */ +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.23.0-SNAPSHOT") @Configuration(value = "org.openapitools.configuration.enumConverterConfiguration") public class EnumConverterConfiguration { diff --git a/samples/openapi3/server/petstore/spring-boot-oneof-sealed/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java b/samples/openapi3/server/petstore/spring-boot-oneof-sealed/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java index 2bbba8e787e7..3f58e69d872f 100644 --- a/samples/openapi3/server/petstore/spring-boot-oneof-sealed/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java +++ b/samples/openapi3/server/petstore/spring-boot-oneof-sealed/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java @@ -6,6 +6,8 @@ import org.openapitools.model.FruitType; +import jakarta.annotation.Generated; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.converter.Converter; @@ -17,6 +19,7 @@ * correct conversion if the OpenAPI specification is using an `enumPropertyNaming` other than * `original` or the specification has an integer enum. */ +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.23.0-SNAPSHOT") @Configuration(value = "org.openapitools.configuration.enumConverterConfiguration") public class EnumConverterConfiguration { diff --git a/samples/openapi3/server/petstore/spring-boot-oneof/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java b/samples/openapi3/server/petstore/spring-boot-oneof/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java index 2bbba8e787e7..3f58e69d872f 100644 --- a/samples/openapi3/server/petstore/spring-boot-oneof/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java +++ b/samples/openapi3/server/petstore/spring-boot-oneof/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java @@ -6,6 +6,8 @@ import org.openapitools.model.FruitType; +import jakarta.annotation.Generated; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.converter.Converter; @@ -17,6 +19,7 @@ * correct conversion if the OpenAPI specification is using an `enumPropertyNaming` other than * `original` or the specification has an integer enum. */ +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.23.0-SNAPSHOT") @Configuration(value = "org.openapitools.configuration.enumConverterConfiguration") public class EnumConverterConfiguration { diff --git a/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java b/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java index 9d3d98fad6d3..49273ba02b4e 100644 --- a/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java +++ b/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java @@ -7,6 +7,8 @@ import org.openapitools.model.EnumClass; import org.openapitools.model.OuterEnum; +import jakarta.annotation.Generated; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.converter.Converter; @@ -18,6 +20,7 @@ * correct conversion if the OpenAPI specification is using an `enumPropertyNaming` other than * `original` or the specification has an integer enum. */ +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.23.0-SNAPSHOT") @Configuration(value = "org.openapitools.configuration.enumConverterConfiguration") public class EnumConverterConfiguration { diff --git a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java index 9d3d98fad6d3..49273ba02b4e 100644 --- a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java +++ b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java @@ -7,6 +7,8 @@ import org.openapitools.model.EnumClass; import org.openapitools.model.OuterEnum; +import jakarta.annotation.Generated; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.converter.Converter; @@ -18,6 +20,7 @@ * correct conversion if the OpenAPI specification is using an `enumPropertyNaming` other than * `original` or the specification has an integer enum. */ +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.23.0-SNAPSHOT") @Configuration(value = "org.openapitools.configuration.enumConverterConfiguration") public class EnumConverterConfiguration { diff --git a/samples/server/petstore/spring-boot-defaultInterface-unhandledExcp/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java b/samples/server/petstore/spring-boot-defaultInterface-unhandledExcp/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java index 9d3d98fad6d3..49273ba02b4e 100644 --- a/samples/server/petstore/spring-boot-defaultInterface-unhandledExcp/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java +++ b/samples/server/petstore/spring-boot-defaultInterface-unhandledExcp/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java @@ -7,6 +7,8 @@ import org.openapitools.model.EnumClass; import org.openapitools.model.OuterEnum; +import jakarta.annotation.Generated; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.converter.Converter; @@ -18,6 +20,7 @@ * correct conversion if the OpenAPI specification is using an `enumPropertyNaming` other than * `original` or the specification has an integer enum. */ +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.23.0-SNAPSHOT") @Configuration(value = "org.openapitools.configuration.enumConverterConfiguration") public class EnumConverterConfiguration { diff --git a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java index 9d3d98fad6d3..49273ba02b4e 100644 --- a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java +++ b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java @@ -7,6 +7,8 @@ import org.openapitools.model.EnumClass; import org.openapitools.model.OuterEnum; +import jakarta.annotation.Generated; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.converter.Converter; @@ -18,6 +20,7 @@ * correct conversion if the OpenAPI specification is using an `enumPropertyNaming` other than * `original` or the specification has an integer enum. */ +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.23.0-SNAPSHOT") @Configuration(value = "org.openapitools.configuration.enumConverterConfiguration") public class EnumConverterConfiguration { diff --git a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java index 9d3d98fad6d3..49273ba02b4e 100644 --- a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java +++ b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java @@ -7,6 +7,8 @@ import org.openapitools.model.EnumClass; import org.openapitools.model.OuterEnum; +import jakarta.annotation.Generated; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.converter.Converter; @@ -18,6 +20,7 @@ * correct conversion if the OpenAPI specification is using an `enumPropertyNaming` other than * `original` or the specification has an integer enum. */ +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.23.0-SNAPSHOT") @Configuration(value = "org.openapitools.configuration.enumConverterConfiguration") public class EnumConverterConfiguration { diff --git a/samples/server/petstore/springboot-builtin-validation/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java b/samples/server/petstore/springboot-builtin-validation/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java index 9d3d98fad6d3..49273ba02b4e 100644 --- a/samples/server/petstore/springboot-builtin-validation/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java +++ b/samples/server/petstore/springboot-builtin-validation/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java @@ -7,6 +7,8 @@ import org.openapitools.model.EnumClass; import org.openapitools.model.OuterEnum; +import jakarta.annotation.Generated; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.converter.Converter; @@ -18,6 +20,7 @@ * correct conversion if the OpenAPI specification is using an `enumPropertyNaming` other than * `original` or the specification has an integer enum. */ +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.23.0-SNAPSHOT") @Configuration(value = "org.openapitools.configuration.enumConverterConfiguration") public class EnumConverterConfiguration { diff --git a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java index 9d3d98fad6d3..49273ba02b4e 100644 --- a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java +++ b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java @@ -7,6 +7,8 @@ import org.openapitools.model.EnumClass; import org.openapitools.model.OuterEnum; +import jakarta.annotation.Generated; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.converter.Converter; @@ -18,6 +20,7 @@ * correct conversion if the OpenAPI specification is using an `enumPropertyNaming` other than * `original` or the specification has an integer enum. */ +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.23.0-SNAPSHOT") @Configuration(value = "org.openapitools.configuration.enumConverterConfiguration") public class EnumConverterConfiguration { diff --git a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java index 9d3d98fad6d3..49273ba02b4e 100644 --- a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java +++ b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java @@ -7,6 +7,8 @@ import org.openapitools.model.EnumClass; import org.openapitools.model.OuterEnum; +import jakarta.annotation.Generated; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.converter.Converter; @@ -18,6 +20,7 @@ * correct conversion if the OpenAPI specification is using an `enumPropertyNaming` other than * `original` or the specification has an integer enum. */ +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.23.0-SNAPSHOT") @Configuration(value = "org.openapitools.configuration.enumConverterConfiguration") public class EnumConverterConfiguration { diff --git a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java index 9d3d98fad6d3..730f6b0cc899 100644 --- a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java +++ b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java @@ -7,6 +7,8 @@ import org.openapitools.model.EnumClass; import org.openapitools.model.OuterEnum; +import javax.annotation.Generated; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.converter.Converter; @@ -18,6 +20,7 @@ * correct conversion if the OpenAPI specification is using an `enumPropertyNaming` other than * `original` or the specification has an integer enum. */ +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.23.0-SNAPSHOT") @Configuration(value = "org.openapitools.configuration.enumConverterConfiguration") public class EnumConverterConfiguration { diff --git a/samples/server/petstore/springboot-include-http-request-context/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java b/samples/server/petstore/springboot-include-http-request-context/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java index ecf23401fee5..0e0fd15378d2 100644 --- a/samples/server/petstore/springboot-include-http-request-context/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java +++ b/samples/server/petstore/springboot-include-http-request-context/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java @@ -7,6 +7,8 @@ import org.openapitools.model.EnumClassDto; import org.openapitools.model.OuterEnumDto; +import jakarta.annotation.Generated; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.converter.Converter; @@ -18,6 +20,7 @@ * correct conversion if the OpenAPI specification is using an `enumPropertyNaming` other than * `original` or the specification has an integer enum. */ +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.23.0-SNAPSHOT") @Configuration(value = "org.openapitools.configuration.enumConverterConfiguration") public class EnumConverterConfiguration { diff --git a/samples/server/petstore/springboot-paged-model/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java b/samples/server/petstore/springboot-paged-model/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java index 0feb90d61375..d9301ad1f924 100644 --- a/samples/server/petstore/springboot-paged-model/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java +++ b/samples/server/petstore/springboot-paged-model/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java @@ -6,6 +6,8 @@ import org.openapitools.model.PetSort; +import jakarta.annotation.Generated; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.converter.Converter; @@ -17,6 +19,7 @@ * correct conversion if the OpenAPI specification is using an `enumPropertyNaming` other than * `original` or the specification has an integer enum. */ +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.23.0-SNAPSHOT") @Configuration(value = "org.openapitools.configuration.enumConverterConfiguration") public class EnumConverterConfiguration { diff --git a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java index 9d3d98fad6d3..49273ba02b4e 100644 --- a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java +++ b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java @@ -7,6 +7,8 @@ import org.openapitools.model.EnumClass; import org.openapitools.model.OuterEnum; +import jakarta.annotation.Generated; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.converter.Converter; @@ -18,6 +20,7 @@ * correct conversion if the OpenAPI specification is using an `enumPropertyNaming` other than * `original` or the specification has an integer enum. */ +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.23.0-SNAPSHOT") @Configuration(value = "org.openapitools.configuration.enumConverterConfiguration") public class EnumConverterConfiguration { diff --git a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java index 9d3d98fad6d3..49273ba02b4e 100644 --- a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java +++ b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java @@ -7,6 +7,8 @@ import org.openapitools.model.EnumClass; import org.openapitools.model.OuterEnum; +import jakarta.annotation.Generated; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.converter.Converter; @@ -18,6 +20,7 @@ * correct conversion if the OpenAPI specification is using an `enumPropertyNaming` other than * `original` or the specification has an integer enum. */ +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.23.0-SNAPSHOT") @Configuration(value = "org.openapitools.configuration.enumConverterConfiguration") public class EnumConverterConfiguration { diff --git a/samples/server/petstore/springboot-sort-validation/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java b/samples/server/petstore/springboot-sort-validation/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java index 83a50a671d5a..ddf4ab86231b 100644 --- a/samples/server/petstore/springboot-sort-validation/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java +++ b/samples/server/petstore/springboot-sort-validation/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java @@ -7,6 +7,8 @@ import org.openapitools.model.PetSort; import org.openapitools.model.PetSortEnum; +import jakarta.annotation.Generated; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.converter.Converter; @@ -18,6 +20,7 @@ * correct conversion if the OpenAPI specification is using an `enumPropertyNaming` other than * `original` or the specification has an integer enum. */ +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.23.0-SNAPSHOT") @Configuration(value = "org.openapitools.configuration.enumConverterConfiguration") public class EnumConverterConfiguration { diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java index 9d3d98fad6d3..49273ba02b4e 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java @@ -7,6 +7,8 @@ import org.openapitools.model.EnumClass; import org.openapitools.model.OuterEnum; +import jakarta.annotation.Generated; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.converter.Converter; @@ -18,6 +20,7 @@ * correct conversion if the OpenAPI specification is using an `enumPropertyNaming` other than * `original` or the specification has an integer enum. */ +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.23.0-SNAPSHOT") @Configuration(value = "org.openapitools.configuration.enumConverterConfiguration") public class EnumConverterConfiguration { diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java index 9d3d98fad6d3..49273ba02b4e 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java @@ -7,6 +7,8 @@ import org.openapitools.model.EnumClass; import org.openapitools.model.OuterEnum; +import jakarta.annotation.Generated; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.converter.Converter; @@ -18,6 +20,7 @@ * correct conversion if the OpenAPI specification is using an `enumPropertyNaming` other than * `original` or the specification has an integer enum. */ +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.23.0-SNAPSHOT") @Configuration(value = "org.openapitools.configuration.enumConverterConfiguration") public class EnumConverterConfiguration { diff --git a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java index 9d3d98fad6d3..49273ba02b4e 100644 --- a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java +++ b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java @@ -7,6 +7,8 @@ import org.openapitools.model.EnumClass; import org.openapitools.model.OuterEnum; +import jakarta.annotation.Generated; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.converter.Converter; @@ -18,6 +20,7 @@ * correct conversion if the OpenAPI specification is using an `enumPropertyNaming` other than * `original` or the specification has an integer enum. */ +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.23.0-SNAPSHOT") @Configuration(value = "org.openapitools.configuration.enumConverterConfiguration") public class EnumConverterConfiguration { diff --git a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java index 9d3d98fad6d3..49273ba02b4e 100644 --- a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java +++ b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java @@ -7,6 +7,8 @@ import org.openapitools.model.EnumClass; import org.openapitools.model.OuterEnum; +import jakarta.annotation.Generated; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.converter.Converter; @@ -18,6 +20,7 @@ * correct conversion if the OpenAPI specification is using an `enumPropertyNaming` other than * `original` or the specification has an integer enum. */ +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.23.0-SNAPSHOT") @Configuration(value = "org.openapitools.configuration.enumConverterConfiguration") public class EnumConverterConfiguration { diff --git a/samples/server/petstore/springboot-useoptional/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java b/samples/server/petstore/springboot-useoptional/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java index 9d3d98fad6d3..49273ba02b4e 100644 --- a/samples/server/petstore/springboot-useoptional/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java +++ b/samples/server/petstore/springboot-useoptional/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java @@ -7,6 +7,8 @@ import org.openapitools.model.EnumClass; import org.openapitools.model.OuterEnum; +import jakarta.annotation.Generated; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.converter.Converter; @@ -18,6 +20,7 @@ * correct conversion if the OpenAPI specification is using an `enumPropertyNaming` other than * `original` or the specification has an integer enum. */ +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.23.0-SNAPSHOT") @Configuration(value = "org.openapitools.configuration.enumConverterConfiguration") public class EnumConverterConfiguration { diff --git a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java index 03049c52f0f7..a29f865ff966 100644 --- a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java +++ b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java @@ -7,6 +7,8 @@ import org.openapitools.virtualan.model.EnumClass; import org.openapitools.virtualan.model.OuterEnum; +import jakarta.annotation.Generated; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.converter.Converter; @@ -18,6 +20,7 @@ * correct conversion if the OpenAPI specification is using an `enumPropertyNaming` other than * `original` or the specification has an integer enum. */ +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.23.0-SNAPSHOT") @Configuration(value = "org.openapitools.configuration.enumConverterConfiguration") public class EnumConverterConfiguration { diff --git a/samples/server/petstore/springboot-x-implements-skip/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java b/samples/server/petstore/springboot-x-implements-skip/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java index 8c5315a26208..bf99ad55aeb3 100644 --- a/samples/server/petstore/springboot-x-implements-skip/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java +++ b/samples/server/petstore/springboot-x-implements-skip/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java @@ -11,6 +11,8 @@ import org.openapitools.model.OuterEnumIntegerDto; import org.openapitools.model.SingleRefTypeDto; +import jakarta.annotation.Generated; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.converter.Converter; @@ -22,6 +24,7 @@ * correct conversion if the OpenAPI specification is using an `enumPropertyNaming` other than * `original` or the specification has an integer enum. */ +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.23.0-SNAPSHOT") @Configuration(value = "org.openapitools.configuration.enumConverterConfiguration") public class EnumConverterConfiguration { diff --git a/samples/server/petstore/springboot/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java b/samples/server/petstore/springboot/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java index ecf23401fee5..d8366cfcfed6 100644 --- a/samples/server/petstore/springboot/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java +++ b/samples/server/petstore/springboot/src/main/java/org/openapitools/configuration/EnumConverterConfiguration.java @@ -7,6 +7,8 @@ import org.openapitools.model.EnumClassDto; import org.openapitools.model.OuterEnumDto; +import javax.annotation.Generated; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.converter.Converter; @@ -18,6 +20,7 @@ * correct conversion if the OpenAPI specification is using an `enumPropertyNaming` other than * `original` or the specification has an integer enum. */ +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.23.0-SNAPSHOT") @Configuration(value = "org.openapitools.configuration.enumConverterConfiguration") public class EnumConverterConfiguration {