Beispiel #1
0
        public Section(string route, string url)
        {
            this.Route = route;
            this.Url   = url;

            endpoints = WebsiteScraper.FindEndpointsAtUrl(url);
        }
Beispiel #2
0
        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();
        }