From 61ba2cf378d4f0ca457a2e83afee61df6c42dd6c Mon Sep 17 00:00:00 2001 From: Cedric Champeau Date: Mon, 26 Jun 2023 10:15:58 +0200 Subject: [PATCH] Make abstract code generator public Without this, it isn't possible for 3rd parties to implement their own code generator. --- .../openapi/generator/AbstractMicronautJavaCodegen.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java b/openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java index 50fe4f7698..f14776206b 100644 --- a/openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java +++ b/openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java @@ -51,7 +51,8 @@ import static org.openapitools.codegen.CodegenConstants.INVOKER_PACKAGE; -abstract class AbstractMicronautJavaCodegen extends AbstractJavaCodegen implements BeanValidationFeatures, OptionalFeatures, MicronautCodeGenerator { +//CHECKSTYLE:OFF +public abstract class AbstractMicronautJavaCodegen extends AbstractJavaCodegen implements BeanValidationFeatures, OptionalFeatures, MicronautCodeGenerator { public static final String OPT_TITLE = "title"; public static final String OPT_TEST = "test"; public static final String OPT_TEST_JUNIT = "junit";