Exemple #1
0
            protected override void Act()
            {
                _openApiMetadataCacheProvider.InitializeCache();

                _actualMetadata = _openApiMetadataCacheProvider
                                  .GetAllSectionDocuments(sdk: true)
                                  .ToList();
            }
Exemple #2
0
 public void Execute()
 {
     // Populate the swagger metadata cache at runtime instead of per request.
     _openApiMetadataCacheProvider.InitializeCache();
 }