Upgrade to WebApi 5.0, adapt to new methods on IDocumentationProvider.