From 369fcc94c7ccd42c5361f59e898b97cc967cb8c7 Mon Sep 17 00:00:00 2001 From: Thibault Vallin Date: Thu, 1 Sep 2022 16:08:30 +0200 Subject: [PATCH] [Server] Change stability to Beta (#52) Signed-off-by: tvallin --- .../codegen/languages/JavaHelidonServerCodegen.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaHelidonServerCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaHelidonServerCodegen.java index b3935afba9eb..2d58ac11e193 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaHelidonServerCodegen.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaHelidonServerCodegen.java @@ -32,6 +32,8 @@ import org.openapitools.codegen.CodegenProperty; import org.openapitools.codegen.CodegenType; import org.openapitools.codegen.SupportingFile; +import org.openapitools.codegen.meta.GeneratorMetadata; +import org.openapitools.codegen.meta.Stability; import org.openapitools.codegen.meta.features.DocumentationFeature; import org.openapitools.codegen.model.ModelMap; import org.openapitools.codegen.model.OperationMap; @@ -56,6 +58,10 @@ public class JavaHelidonServerCodegen extends JavaHelidonCommonCodegen { public JavaHelidonServerCodegen() { super(); + // beta for now + generatorMetadata = GeneratorMetadata.newBuilder(generatorMetadata) + .stability(Stability.BETA) + .build(); modifyFeatureSet(features -> features.includeDocumentationFeatures(DocumentationFeature.Readme));