Swagger Comments Alignment

Albertk 106 Reputation points
2021-05-05T02:06:57.657+00:00

I have a data model that is declared as below. My Question how do I align the output in Swagger UI. You see that the comments is below instate of at the same level as the "recordNo"

  /// <summary>  
    /// Person Identity  
    /// </summary>  
    public record PersonIdentity  
    {  
        /// <summary>  
        /// Record Number  
        /// </summary>  
        [Required]  
        [StringLength(48, MinimumLength = 2)]  
        public string RecordNo { get; init; }  
    }  

93746-image1.png

Developer technologies | C#
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.