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/PureCloudPythonClientCodegen.java
+41Lines changed: 41 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -157,6 +157,47 @@ public void postProcessParameter(CodegenParameter parameter) {
157
157
parameter.dataType = "Empty";
158
158
}
159
159
}
160
+
// DEVTOOLING-1755: Fix Regex Patterns
161
+
// Python now requires double backslash in regex patterns.
162
+
// Although openapi-generator preserves double backslash when processing the Platform API Swagger specification,
163
+
// the double backslash is transformed into a single backslash when the pattern property value is inserted via the mustache template.
164
+
// Modify openapi-generator to change double backslash to quadruple backslash so that proper value is used in Python SDK source code.
0 commit comments