Skip to content

Commit d447cdc

Browse files
committed
fix(OpenAPI): add GeneratedCodeAttribute to generated classes
1 parent 08cadfe commit d447cdc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/OpenApi/gen/XmlCommentGenerator.Emitter.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ private static Dictionary<string, XmlComment> GenerateCacheEntries()
9393
}
9494
}
9595
96+
{{GeneratedCodeAttribute}}
9697
file static class DocumentationCommentIdHelper
9798
{
9899
/// <summary>
@@ -444,6 +445,7 @@ public Task TransformAsync(OpenApiSchema schema, OpenApiSchemaTransformerContext
444445
}
445446
}
446447
448+
{{GeneratedCodeAttribute}}
447449
file static class JsonNodeExtensions
448450
{
449451
public static JsonNode? Parse(this string? json)

0 commit comments

Comments
 (0)