I'm generating my API documentation with Web API Help Page generator. But the problems is that the Help Page generator can't generate the documentation for methods with Enum parameters. This also occur with parameters of object and dynamic type.
Here is my method:
public HttpResponseMessage Get(Status status, DateTime? date = null)
{
...
}
enum Status
{
Avaliable,
Busy,
Canceled,
Failed,
Sent
}
And here is the generate documentation:
GET api/StatusCheck?date={date}
But the correct form is:
GET api/StatusCheck?status={status}&date={date}
When I go to API model documentation the parameter is there, but there's no descriptions.
It's like this:
GET api/StatusCheck?date={date}
Unavaliable.
Request
Parameters
Name Description
status Unavaliable.
date Unavaliable.
Is this a BUG in Help Page generator? How can I fix my page examples?