forked from loafle/openapi-generator-original
fix incorrect patternin aspnetcore (#1371)
This commit is contained in:
parent
fbc3ff8766
commit
c95b1f4545
@ -251,4 +251,9 @@ public class AspNetCoreServerCodegen extends AbstractCSharpCodegen {
|
|||||||
// To avoid unexpected behaviors when options are passed programmatically such as { "useCollection": "" }
|
// To avoid unexpected behaviors when options are passed programmatically such as { "useCollection": "" }
|
||||||
return super.processCompiler(compiler).emptyStringIsFalse(true);
|
return super.processCompiler(compiler).emptyStringIsFalse(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toRegularExpression(String pattern) {
|
||||||
|
return escapeText(pattern);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
3.3.0-SNAPSHOT
|
3.3.3-SNAPSHOT
|
Loading…
x
Reference in New Issue
Block a user