public SchemasOpenApiGenerator(IEnumerable <IDocumentProcessor> documentProcessors) { settings.ConfigureSchemaSettings(); foreach (var processor in documentProcessors) { settings.DocumentProcessors.Add(processor); } }
public SchemasOpenApiGenerator(IOptions <UrlsOptions> urlOptions, IEnumerable <IDocumentProcessor> documentProcessors) { this.urlOptions = urlOptions.Value; settings.ConfigureSchemaSettings(); foreach (var processor in documentProcessors) { settings.DocumentProcessors.Add(processor); } }
public SchemasOpenApiGenerator(IEnumerable <IDocumentProcessor> documentProcessors, IRequestCache requestCache) { settings.ConfigureSchemaSettings(); foreach (var processor in documentProcessors) { settings.DocumentProcessors.Add(processor); } this.requestCache = requestCache; }