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
Current behavior
Currently, when there is need of array of strings with regex pattern, e.g.
"MySampleListOfStrings": {
"type": "array",
"description": "Some Fancy List of strings with defined pattern which is sadly not visible",
"items": {
"type": "string",
"pattern": "^OMG Nobody can see me regex[0-9]$"
}
},
Pattern itself is not generated:
Solution proposal
Something like this would be good
Maybe with brackets, to indicate it is in array.
btw currently it is possible to generate these two samples by using invalid schema when pattern is defined for array.
"MySampleListOfStrings": {
"type": "array",
"pattern": "^OMG Nobody can see me regex[0-9]$",
"description": "Some Fancy List of strings with defined pattern which is sadly not visible",
"items": {
"type": "string"
}
},
The text was updated successfully, but these errors were encountered:
Current behavior
Currently, when there is need of array of strings with regex pattern, e.g.
Pattern itself is not generated:
Solution proposal
Something like this would be good
Maybe with brackets, to indicate it is in array.
btw currently it is possible to generate these two samples by using invalid schema when pattern is defined for
array
.The text was updated successfully, but these errors were encountered: