public Section(string route, string url) { this.Route = route; this.Url = url; endpoints = WebsiteScraper.FindEndpointsAtUrl(url); }
public async Task DocumentedApiMatchesImplementation() { var documentedApis = WebsiteScraper.GetListOfDocumentedApis(); var deprecatedEndpoints = documentedApis.SelectMany(a => a.Endpoints) .Where(e => e.IsDeprecated) .ToList(); var allErrors = documentedApis.SelectMany(api => api.Validate()) .ToList(); }