You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractPythonPydanticV1Codegen.java
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,8 @@ public abstract class AbstractPythonPydanticV1Codegen extends DefaultCodegen imp
49
49
protectedStringpackageName = "openapi_client";
50
50
@SetterprotectedStringpackageVersion = "1.0.0";
51
51
@SetterprotectedStringprojectName; // for setup.py, e.g. petstore-api
if (StringUtils.isEmpty(System.getenv("PYTHON_POST_PROCESS_FILE"))) {
142
148
LOGGER.info("Environment variable PYTHON_POST_PROCESS_FILE not defined so the Python code may not be properly formatted. To define it, try 'export PYTHON_POST_PROCESS_FILE=\"/usr/local/bin/yapf -i\"' (Linux/Mac)");
143
149
LOGGER.info("NOTE: To enable file post-processing, 'enablePostProcessFile' must be set to `true` (--enable-post-process-file for CLI).");
0 commit comments