diff --git a/src/Swashbuckle.AspNetCore.SwaggerGen/SwaggerGenerator/SwaggerGenerator.cs b/src/Swashbuckle.AspNetCore.SwaggerGen/SwaggerGenerator/SwaggerGenerator.cs index 3dacc55fa7..b3929dede0 100644 --- a/src/Swashbuckle.AspNetCore.SwaggerGen/SwaggerGenerator/SwaggerGenerator.cs +++ b/src/Swashbuckle.AspNetCore.SwaggerGen/SwaggerGenerator/SwaggerGenerator.cs @@ -655,6 +655,7 @@ private OpenApiMediaType CreateResponseMediaType(ModelMetadata modelMetadata, Sc new KeyValuePair("5\\d{2}", "Server Error"), new KeyValuePair("default", "Error") }; + private string GenerateSummary(ApiDescription apiDescription) { string operationSummary = null;