Skip to content

Commit 3926315

Browse files
[OpenAPI] Only enable XML source gen for C# (dotnet#62069)
Only enable the OpenAPI XML source generator for C#. See dotnet#61069 (comment).
1 parent c5d6996 commit 3926315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OpenApi/gen/XmlCommentGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace Microsoft.AspNetCore.OpenApi.SourceGenerators;
99

10-
[Generator]
10+
[Generator(LanguageNames.CSharp)]
1111
public sealed partial class XmlCommentGenerator : IIncrementalGenerator
1212
{
1313
public void Initialize(IncrementalGeneratorInitializationContext context)

0 commit comments

Comments
 (0)