What's the best way to convey required/optional DTO properties in ServiceStack?
问题 I'm having an issue with my ServiceStack w/ Swagger implementation regarding documenting required/optional properties. Developers implementing clients that consume my services love the Swagger documentation, however they don't know which properties are required vs. optional--aside from getting a 400 response on each attempt to get a valid request through. Take the following example: public class UserProfile { public string FirstName { get; set; } public string LastName { get; set; } public