Skip to content

Commit 53b34d9

Browse files
committed
Add deprecated message for micronaut generator and links to actual micronaut generator
1 parent 96adf2f commit 53b34d9

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaMicronautAbstractCodegen.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -712,4 +712,22 @@ public void setSerializationLibrary(final String serializationLibrary) {
712712
throw new RuntimeException(sb.toString());
713713
}
714714
}
715+
716+
@Override
717+
public void postProcess() {
718+
System.out.println("################################################################################");
719+
System.out.println("# Thanks for using OpenAPI Generator. #");
720+
System.out.println("# Please consider donation to help us maintain this project \uD83D\uDE4F #");
721+
System.out.println("# https://opencollective.com/openapi_generator/donate #");
722+
System.out.println("# #");
723+
System.out.println("# WARNING! This generator is outdated. Please use the official generator for #");
724+
System.out.println("# Micronaut: https://github.com/micronaut-projects/micronaut-openapi with the #");
725+
System.out.println("# help of the plugin for gradle #");
726+
System.out.println("# (https://github.com/micronaut-projects/micronaut-gradle-plugin) and maven #");
727+
System.out.println("# (https://github.com/micronaut-projects/micronaut-maven-plugin). #");
728+
System.out.println("# #");
729+
System.out.println("# Supported generators for micronaut client / server side, java and kotlin #");
730+
System.out.println("# languages. #");
731+
System.out.println("################################################################################");
732+
}
715733
}

0 commit comments

Comments
 (0)