File: src/OpenApiSourceGenerator/Processors/SchemaProcessor.cs (GenerateCompilationUnit in ClassGenerator.cs)
Generated .g.cs files have no // <auto-generated/> comment header. This is a standard convention that suppresses analyzer/style-cop warnings and code-coverage instrumentation on generated code, and signals to IDEs/tooling not to hand-edit the file.
Suggested fix: Prepend a standard // <auto-generated/> header (and consider #nullable enable if nullable annotations are added per issues #71 ) when building the CompilationUnitSyntax.
File:
src/OpenApiSourceGenerator/Processors/SchemaProcessor.cs(GenerateCompilationUnitinClassGenerator.cs)Generated
.g.csfiles have no// <auto-generated/>comment header. This is a standard convention that suppresses analyzer/style-cop warnings and code-coverage instrumentation on generated code, and signals to IDEs/tooling not to hand-edit the file.Suggested fix: Prepend a standard
// <auto-generated/>header (and consider#nullable enableif nullable annotations are added per issues #71 ) when building theCompilationUnitSyntax.