using System; namespace Win.Utils { public class SwaggerHeaderAttribute : Attribute { public string HeaderName { get; } public string Description { get; } public string DefaultValue { get; } public bool IsRequired { get; } public SwaggerHeaderAttribute(string headerName, bool isRequired = false, string description = null, string defaultValue = null) { HeaderName = headerName; Description = description; DefaultValue = defaultValue; IsRequired = isRequired; } } }