I have also enabled the annotations in my Program.cs
namespace INA.FOBO.Domain
{
public class GetDataModelInput
{
///
/// Key id of the model table
///
/// 9
[Column(“Keyid”)]
public int ModelId { get; set; }
<code> /// <summary>
/// Table name of the model
/// </summary>
[SwaggerSchema("DML_CustomerCreditLimitExposureHeader")]
[Column("Tablename")]
public string ModelName { get; set; }
}
</code>
<code> /// <summary>
/// Table name of the model
/// </summary>
[SwaggerSchema("DML_CustomerCreditLimitExposureHeader")]
[Column("Tablename")]
public string ModelName { get; set; }
}
</code>
/// <summary>
/// Table name of the model
/// </summary>
[SwaggerSchema("DML_CustomerCreditLimitExposureHeader")]
[Column("Tablename")]
public string ModelName { get; set; }
}
}
Program.cs
I want the schema to have a attribute example with a value enter image description here
New contributor
Vignesh Ram is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.