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
[Fix] Fix regex converter when the property's pattern is empty. (#409)
Currently, when we enconter such schema:
```
{
"type": "object",
"properties": {
"_links": {
"type": "object",
"patternProperties": {
"": {
"type": "object",
"properties": {
"href": {
"type": "string"
}
}
}
}
}
}
}
```
This will lead to a segmentation fault. It is caused by the lack of
handling with the empty regex when `RegexConverter` is constructed. This
PR fixed it.
Signed-off-by: Yuchuan <[email protected]>
---------
Signed-off-by: Yuchuan <[email protected]>
0 commit comments