예제 #1
0
 public SwaggerGenerator(
     IApiDescriptionGroupCollectionProvider apiDescriptionsProvider,
     ISchemaRegistryFactory schemaRegistryFactory,
     SwaggerGeneratorOptions options)
 {
     _apiDescriptionsProvider = apiDescriptionsProvider;
     _schemaRegistryFactory   = schemaRegistryFactory;
     _options = options ?? new SwaggerGeneratorOptions();
     _serviceEntryProvider = ServiceLocator.Current.Resolve <IServiceEntryProvider>();
 }