Function pathParam

  • Decorator which injects a path parameter value as an endpoint parameter value.

    Value passed to the method will be a string.

    Parameters

    • paramName: string

      The name of the path parameter to inject.

    • Optional apiParamInfo: ApiParam

      (Optional) OpenApi metadata about the path parameter.

    Returns ((classDefinition, methodName, paramIndex) => void)

      • (classDefinition, methodName, paramIndex): void
      • Parameters

        • classDefinition: Object | Function
        • methodName: string
        • paramIndex: number

        Returns void

Generated using TypeDoc