code: def validate_path_parameters(target_path, api_path, path_parameters, context):
      
      base_path = context.get('basePath', '')
      full_api_path = re.sub(NORMALIZE_SLASH_REGEX, '/', base_path + api_path)
      parameter_values = get_path_parameter_values(
          target_path, full_api_path, path_parameters, context,
      )
      validate_parameters(parameter_values, path_parameters, context=context)
docs: Helper function for validating a request path