maxLength property
Maximum length for string parameters.
When specified, the parameter value must not exceed this length. Useful for preventing DoS attacks through extremely long strings.
Example:
@Parameter(
description: 'Search query',
maxLength: 1000,
)
String query,
Implementation
final int? maxLength;