fix incorrect patternin aspnetcore (#1371)

This commit is contained in:
William Cheng
2018-11-05 10:21:55 +08:00
committed by GitHub
parent fbc3ff8766
commit c95b1f4545
2 changed files with 6 additions and 1 deletions

View File

@@ -251,4 +251,9 @@ public class AspNetCoreServerCodegen extends AbstractCSharpCodegen {
// To avoid unexpected behaviors when options are passed programmatically such as { "useCollection": "" }
return super.processCompiler(compiler).emptyStringIsFalse(true);
}
@Override
public String toRegularExpression(String pattern) {
return escapeText(pattern);
}
}

View File

@@ -1 +1 @@
3.3.0-SNAPSHOT
3.3.3-SNAPSHOT