Adds postProcess method to python-experimental (#12079)

This commit is contained in:
Justin Black 2022-04-07 16:04:22 -07:00 committed by GitHub
parent d45f72da32
commit f852c9c695
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2316,4 +2316,16 @@ public class PythonExperimentalClientCodegen extends AbstractPythonCodegen {
throw new RuntimeException("Your spec version of "+originalSpecVersion+" is too low. python-experimental only works with specs with version >= 3.X.X. Please use a tool like Swagger Editor or Swagger Converter to convert your spec to v3");
}
}
@Override
public void postProcess() {
System.out.println("################################################################################");
System.out.println("# Thanks for using OpenAPI Generator. #");
System.out.println("# Please consider donation to help us maintain this project \uD83D\uDE4F #");
System.out.println("# https://opencollective.com/openapi_generator/donate #");
System.out.println("# #");
System.out.println("# This generator was written by Justin Black (https://github.com/spacether) #");
System.out.println("# Please support his work directly via https://github.com/sponsors/spacether \uD83D\uDE4F#");
System.out.println("################################################################################");
}
}