public SwaggerDefaultValues(IOptions <SwaggerOption> swaggerOption) { _swaggerOption = swaggerOption.Value; }
public ConfigureSwaggerOptions(IServiceProvider serviceProvider, IOptions <SwaggerOption> swaggerOptionAccessor) { this.swaggerOption = swaggerOptionAccessor.Value; _serviceProvider = serviceProvider; }