datamodel-code-generator
datamodel-code-generator copied to clipboard
chore: use `@generated` as defined at https://generated.at
Add the marker to "generated" at the file header to make it easier for tooling to identify generated files as such.
Closes: #1604
@pjungermann Thank you for creating the PR. Do we need the breaking changes? I don't know if it is valuable (Probably a lot of project people will check the diffs)
What about providing this as a flag in the CLI? It seems silly to add more options to the CLI, but I'm not too happy with the burden it would place on existing projects.
@koxudaxi Personally, I would go for it and accept these one-time changes. However, I get your point, and not everyone might be interested in it.
I can look into a flag for the CLI. Of course, it might make the change much bigger, too. I assume you would like to keep the default to the previous behavior, right?