From 4b5687354756e14830c8b7fca4d3f8440c2b424b 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..1f08efd780 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 { +@SuppressWarnings("checkstyle:DesignForExtension") +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";