json.string
Randomly generates a string value.
Attributes
minLengthoptionalThe minimum number of characters (inclusive) to be generated. Corresponds to the minLength JSON schema keyword. The default value is 0.
maxLengthoptionalThe maximum number of characters (inclusive) to be generated. Corresponds to the maxLength JSON schema keyword. The default value is 64.
Examples
Unbounded length:
{
"type": "string"
}Bounded length:
{
"type": "string",
"minLength": 5,
"maxLength": 10
}