Skip to content

[F] getParameterKey

function getParameterKey(
program,
property,
newParam,
existingParams,
options): string

Gets the key that is used to define a parameter in OpenAPI.

Parameters

ParameterType
programProgram
propertyModelProperty
newParamunknown
existingParamsRecord<string, unknown>
optionsTypeNameOptions

Returns

string