Open Leon99 opened 4 years ago
Main reason is that it updates the config with the latest default values so that if they change in the future they are fixed and you immediately see the newly supported options.
Oh okay, I never thought about it that way... I might be (overly) used to SemVer and reading release notes :) Anyway, would you accept a PR to make that rewrite optional?
@jeremyVignelles what do you think?
Why not, but how would you do that? an option in the file?
An option to specify how options are handled in the options file ;)
that's meta, but why not.
"autoUpgrade":false
?
Why not...
We're trying to keep nswag.json for generating Swagger doc to minimum as most of the properties are set via code and consumed with the help of
"useDocumentProvider": true
. However, the MSBuild task rewrites the file by adding the full set of the properties during code generation. Why would it do that?