@beholdio/ts-lambda-api - v2.4.8
    Preparing search index...

    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.

      • OptionalapiParamInfo: ApiParam

        (Optional) OpenApi metadata about the path parameter.

      Returns (
          classDefinition: Object | Function,
          methodName: string,
          paramIndex: number,
      ) => void