Skip to content

Commit 523ea68

Browse files
Per Kopsperkops
authored andcommitted
fix: ensure verbatim description generated in ContentGeneratorServerConfigureSwaggerDocOptions
1 parent 4e3053f commit 523ea68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Atc.Rest.ApiGenerator.Framework/ContentGenerators/Server/ContentGeneratorServerConfigureSwaggerDocOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public string Generate()
6767
.Trim();
6868
}
6969

70-
sb.AppendLine(8, $"var text = new StringBuilder(\"{description}\");");
70+
sb.AppendLine(8, $"var text = new StringBuilder(@\"{description}\");");
7171
sb.AppendLine(8, "var info = new OpenApiInfo");
7272
sb.AppendLine(8, "{");
7373
sb.AppendLine(12, "Title = $\"{environment.ApplicationName} {description.GroupName.ToUpperInvariant()}\",");

0 commit comments

Comments
 (0)