In AppHost we override the Start method and we read all RestPaths.
restPaths = appPaths.Select(path => new OurRestPath()
{
Path = path.Path,
Verbs = path.Verbs.ToList(),
Type = GetRestTypeInfo(path.RequestType)
}).ToList();
}
Then we create the schema of RequestType and Response( because of IReturn) using the GetProperties,
and expose a Json array through a configuration service. Using this service is very easy to create our Test page like Swagger.
Maybe It would be useful if such service was provided from ServiceStack.