I wanted to create the summaries in code behind because all of my routes are currently configured in the AppConfig class, but as far as I can tell, summaries can only be included using the Route attribute.
EX:
[Route("/myrequest/{Id}, "GET", Summary="My Summary", Notes="My Notes")]
public class MyRequest : IReturn<MyResponse>
{
public int Id { get; set; }
}
yet my routes are configured like:
base.Routes
.Add<MyRequest>("/myrequest", "GET");
Essentially I'd like to do something like:
base.Routes
.Add<MyRequest>("/myrequest", "GET", "My Summary", "My Notes");
Is there currently a way to do this?
EDIT:
I'm using ServiceStack version 3.9.71