alias property
Custom name for this parameter in generated REST APIs, MCP tool schemas, and OpenAPI specifications.
When set, the alias is used as the external parameter name instead of the Dart method parameter name. The Dart parameter name is still used in the source code.
Example:
@Parameter(alias: 'q') String searchQuery
This makes the parameter appear as q in REST query strings,
JSON request bodies, and MCP tool input schemas.
Implementation
final String? alias;