Remove doc required

This commit is contained in:
2025-10-28 17:55:41 +07:00
parent da908d7da2
commit 1181a0920a
2 changed files with 38 additions and 35 deletions

View File

@@ -1,5 +1,7 @@
#nullable enable
using System.ComponentModel.DataAnnotations;
namespace Managing.Api.Models.Requests;
/// <summary>
@@ -10,17 +12,19 @@ public class IndicatorRequestDto
/// <summary>
/// Name of the indicator (e.g., "MACD", "RSI", "Bollinger Bands")
/// </summary>
public string IndicatorName { get; set; } = string.Empty;
[Required]
public string IndicatorName { get; set; }
/// <summary>
/// Strategy or description of how the indicator is used (e.g., "MACD Cross", "RSI Divergence")
/// </summary>
[Required]
public string StrategyDescription { get; set; } = string.Empty;
/// <summary>
/// Primary documentation URL for the indicator
/// </summary>
public string DocumentationUrl { get; set; } = string.Empty;
public string? DocumentationUrl { get; set; }
/// <summary>
/// Image URL for the indicator (optional) - can be a chart, diagram, or visual representation
@@ -30,6 +34,6 @@ public class IndicatorRequestDto
/// <summary>
/// Name of the person requesting the indicator
/// </summary>
[Required]
public string RequesterName { get; set; } = string.Empty;
}
}