Skip to content

Commit 859a066

Browse files
authored
add sponsorship message for jim's work (#8650)
1 parent 90e8dcf commit 859a066

File tree

5 files changed

+48
-1
lines changed

5 files changed

+48
-1
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,4 +1009,16 @@ public Map<String, Object> postProcessModels(Map<String, Object> objs) {
10091009

10101010
return objs;
10111011
}
1012+
1013+
@Override
1014+
public void postProcess() {
1015+
System.out.println("################################################################################");
1016+
System.out.println("# Thanks for using OpenAPI Generator. #");
1017+
System.out.println("# Please consider donation to help us maintain this project \uD83D\uDE4F #");
1018+
System.out.println("# https://opencollective.com/openapi_generator/donate #");
1019+
System.out.println("# #");
1020+
System.out.println("# This generator's contributed by Jim Schubert (https://github.com/jimschubert)#");
1021+
System.out.println("# Please support his work directly via https://patreon.com/jimschubert \uD83D\uDE4F #");
1022+
System.out.println("################################################################################");
1023+
}
10121024
}

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,4 +658,16 @@ private static boolean isMultipartType(List<Map<String, String>> consumes) {
658658
}
659659
return false;
660660
}
661+
662+
@Override
663+
public void postProcess() {
664+
System.out.println("################################################################################");
665+
System.out.println("# Thanks for using OpenAPI Generator. #");
666+
System.out.println("# Please consider donation to help us maintain this project \uD83D\uDE4F #");
667+
System.out.println("# https://opencollective.com/openapi_generator/donate #");
668+
System.out.println("# #");
669+
System.out.println("# This generator's contributed by Jim Schubert (https://github.com/jimschubert)#");
670+
System.out.println("# Please support his work directly via https://patreon.com/jimschubert \uD83D\uDE4F #");
671+
System.out.println("################################################################################");
672+
}
661673
}

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,4 +248,16 @@ public static class Constants {
248248
public final static String COMPRESSION = "featureCompression";
249249
public final static String COMPRESSION_DESC = "Adds ability to compress outgoing content using gzip, deflate or custom encoder and thus reduce size of the response.";
250250
}
251+
252+
@Override
253+
public void postProcess() {
254+
System.out.println("################################################################################");
255+
System.out.println("# Thanks for using OpenAPI Generator. #");
256+
System.out.println("# Please consider donation to help us maintain this project \uD83D\uDE4F #");
257+
System.out.println("# https://opencollective.com/openapi_generator/donate #");
258+
System.out.println("# #");
259+
System.out.println("# This generator's contributed by Jim Schubert (https://github.com/jimschubert)#");
260+
System.out.println("# Please support his work directly via https://patreon.com/jimschubert \uD83D\uDE4F #");
261+
System.out.println("################################################################################");
262+
}
251263
}

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,18 @@ private void generateInputParameters(CodegenOperation op) {
472472
// The input parameters for functions
473473
op.vendorExtensions.put("x-codegen-input-params", inputParams);
474474
op.vendorExtensions.put("x-codegen-typed-input-params", typedInputParams);
475+
}
475476

477+
@Override
478+
public void postProcess() {
479+
System.out.println("################################################################################");
480+
System.out.println("# Thanks for using OpenAPI Generator. #");
481+
System.out.println("# Please consider donation to help us maintain this project \uD83D\uDE4F #");
482+
System.out.println("# https://opencollective.com/openapi_generator/donate #");
483+
System.out.println("# #");
484+
System.out.println("# This generator's contributed by Jim Schubert (https://github.com/jimschubert)#");
485+
System.out.println("# Please support his work directly via https://patreon.com/jimschubert \uD83D\uDE4F #");
486+
System.out.println("################################################################################");
476487
}
477488

478489
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.0.0-SNAPSHOT
1+
5.1.0-SNAPSHOT

0 commit comments

Comments
 (0)