Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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; }
}
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Answer accepted by question author
This article should help