|
27 | 27 |
|
28 | 28 | import static org.openapitools.codegen.CodegenConstants.INVOKER_PACKAGE;
|
29 | 29 |
|
| 30 | +/** |
| 31 | + * @deprecated WARNING! This generator is outdated. Please use the official generator for Micronaut: |
| 32 | + * <a href="https://github.com/micronaut-projects/micronaut-openapi">micronaut-openapi</a> with the help of the plugin for |
| 33 | + * <a href="https://github.com/micronaut-projects/micronaut-gradle-plugin">Gradle</a> and |
| 34 | + * <a href="https://github.com/micronaut-projects/micronaut-maven-plugin">Maven</a>. |
| 35 | + */ |
| 36 | +@SuppressWarnings("removal") |
| 37 | +@Deprecated(forRemoval = true) |
30 | 38 | public abstract class JavaMicronautAbstractCodegen extends AbstractJavaCodegen implements BeanValidationFeatures, OptionalFeatures {
|
31 | 39 | public static final String OPT_TITLE = "title";
|
32 | 40 | public static final String OPT_BUILD = "build";
|
@@ -712,4 +720,22 @@ public void setSerializationLibrary(final String serializationLibrary) {
|
712 | 720 | throw new RuntimeException(sb.toString());
|
713 | 721 | }
|
714 | 722 | }
|
| 723 | + |
| 724 | + @Override |
| 725 | + public void postProcess() { |
| 726 | + System.out.println("################################################################################"); |
| 727 | + System.out.println("# Thanks for using OpenAPI Generator. #"); |
| 728 | + System.out.println("# Please consider donation to help us maintain this project \uD83D\uDE4F #"); |
| 729 | + System.out.println("# https://opencollective.com/openapi_generator/donate #"); |
| 730 | + System.out.println("# #"); |
| 731 | + System.out.println("# WARNING! This generator is outdated. Please use the official generator for #"); |
| 732 | + System.out.println("# Micronaut: https://github.com/micronaut-projects/micronaut-openapi with the #"); |
| 733 | + System.out.println("# help of the plugin for Gradle #"); |
| 734 | + System.out.println("# (https://github.com/micronaut-projects/micronaut-gradle-plugin) and Maven #"); |
| 735 | + System.out.println("# (https://github.com/micronaut-projects/micronaut-maven-plugin). #"); |
| 736 | + System.out.println("# #"); |
| 737 | + System.out.println("# Supported generators for micronaut client / server side, java and kotlin #"); |
| 738 | + System.out.println("# languages. #"); |
| 739 | + System.out.println("################################################################################"); |
| 740 | + } |
715 | 741 | }
|
0 commit comments