Skip to content

Commit c445ea2

Browse files
committed
add comment for the escapeRegex method
1 parent 8f881a2 commit c445ea2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,9 @@ private void changeParamNames(List<CodegenParameter> paramsList, HashSet<String>
531531
}
532532
}
533533

534+
// The DefaultCodegen.toRegularExpression method returns regex in a format
535+
// that is unsuitable for use in Julia. This method changes the regex to
536+
// a suitable format.
534537
private void changeRegexEscape(List<CodegenParameter> paramsList) {
535538
for (CodegenParameter param : paramsList) {
536539
if (param.pattern != null) {

0 commit comments

Comments
 (0)