// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

namespace Microsoft.AspNetCore.Http.Metadata;

/// <summary>
/// Interface marking attributes that specify a parameter should be bound using the request body.
/// </summary>
public interface IFromBodyMetadata
{
    /// <summary>
    /// Gets whether empty input should be rejected or treated as valid.
    /// </summary>
    bool AllowEmpty => false;
}
