• Clear all cached responses for a specific path (all methods)

    Parameters

    • model: IKosDataModel

      The KOS model instance

    • path: string

      The API path constant

    Returns void

    Example

    // Clear all cached responses for this endpoint
    clearPath(this, PATH_INGREDIENTS);
    // Clears GET, POST, PUT, DELETE responses for this path