Skip to main content

Function: snakeToCamel()

snakeToCamel(str): string

Defined in: http-server-mcp-openapi/src/parameters.ts:19

Folds _ and - separators into camelCase. OpenAPI operation and parameter names may be snake_case (agent_id) or kebab-case (list-tools); with the default argumentNames: 'camelCase' both are folded into tool arguments.

Parameters​

ParameterType
strstring

Returns​

string