OpenAPITools / OpenAPITools/openapi-generator
[REQ][C#] Add "auto-generated" tag to files
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
Is your feature request related to a problem? Please describe.
There are a number of tools in the .Net[Core] world which help out with code around a solution. However with the generated code, these tools believe that it was written by a human and complain at the slightest of inconsistencies (currently moaning about the null checks that are generated on non-nullable enums - but that's a different issue). The following comment at the top of each generated file will shut these tools up and make sure that the generated code is not subject to the same scrutiny as human code
Describe the solution you'd like
// at the top of each C# file
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not name any files or tests; start by locating the C# generation entry point and the templates that produce C# files. Confirm that generated C# output consistently includes the requested auto-generated comment at the top.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100