I have successfully added a web api controller
to an existing MVC4
application.
I would like to have the api documentation functionality as is available in the new web api samples (ex. http://sample.hostname.com/help)
. I believe these use the ApiExplorer
class. I tried just copying the HelpPage
area into my project, but I get an error
"The type String cannot be constructed. You must configure the container to supply this value"
when I try to navigate to help.
What must I do to add automated documentation of the API?