Is there a chance to tell swagger to take default value from init not from attribute [DefaultValue]
?
public class MyClass
{
public Guid RowId { get; set; } = Guid.NewGuid();
public int? ExampleInt { get; set; } = 1;
public string? ExampleText { get; set; } = string.Empty;
}
I don't want to type all default values twice.