Esempio n. 1
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();
        }