/// <summary>Initializes a new instance of the <see cref="AspNetCoreToSwaggerGenerator" /> class.</summary> /// <param name="settings">The settings.</param> /// <param name="schemaGenerator">The schema generator.</param> public AspNetCoreToSwaggerGenerator(AspNetCoreToSwaggerGeneratorSettings settings, SwaggerJsonSchemaGenerator schemaGenerator) { Settings = settings; _schemaGenerator = schemaGenerator; }
/// <summary>Initializes a new instance of the <see cref="AspNetCoreToSwaggerGenerator" /> class.</summary> /// <param name="settings">The settings.</param> public AspNetCoreToSwaggerGenerator(AspNetCoreToSwaggerGeneratorSettings settings) : this(settings, new SwaggerJsonSchemaGenerator(settings)) { }