Help Page Response Format Documentation

Topics: Web Api
Dec 11, 2011 at 4:07 AM

I've enabled the help page and I've figured out to use the Description attribute to generate the service description but when I go into each method the response format is "Unknown" and "Body" says "Could not generate schema document." All my endpoints only accept GET request, support both json and xml responses (default stuff, nothing custom, only based on Accept headers, no url parsing or anything) and return an IQueryable<T>. How can I get the help documentaion to show the response details similar to what is shown here http://msdn.microsoft.com/en-us/library/ee230442.aspx? Should it be doing this automatically? I'm using Preview 6 and the WCF Test Page stuff all works like a dream (xml, json, intellisense, etc) so I know the framework "understands" my services and the types being returned by each service.