public void Create_ReturnsSwaggerGenOptions() { var options = new SwaggerGenOptions(); var action = SwaggerGenOptionsFactory.Create(); action.Invoke(options); // Asserts options.SwaggerGeneratorOptions.DescribeAllParametersInCamelCase.Should().BeTrue(); }
internal static IServiceCollection AddMySwaggerGen(this IServiceCollection services) => services.AddSwaggerGen(SwaggerGenOptionsFactory.Create());