I'm having trouble displaying the correct notes in swagger using ServiceStack.
Given this structure:
[Route("/Widget/{WidgetId}", Summary = "Updates a widget by id", Verbs = "POST", Notes = "Updates a widget by id.")] public class UpdateReqWidget : IReturnVoid { [ApiMember(Name = "WidgetId", Description = "The id of widget to delete.")] public int WidgetId { get; set; } } public class WidgetService { public void Put(UpdateReqWidget req) {
It produces: 
I would expect that only WidgetId will be in the parameter list, but it displays WidgetId and UpdageReqWidget, the class name for the request. Any ideas what I am doing wrong?
EDIT: I am using version 3.9.55 for ServiceStack and ServiceStack.API.Swagger. I changed the templates to better suit our needs.
servicestack swagger
Matthew Doyle
source share