Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Swashbuckle Pro Tips for ASP.NET Web API #2
public class ValueResponseModelExample : IExamplesProvider
public virtual object GetExamples()
var value = new ValueReference()
Id = Guid.NewGuid(),
Name = "value name",
Value = 123,
IsValid = true,
AddedOn = DateTimeOffset.Now
var model = new ValueResponseModel() { Value = value };
return model;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.