0

I have a client class which is generated in Visual Studio 2019 using the Unchase OpenAPI (Swagger) Coonected Service Extension.

The generated client class is given the following attributes.

[System.CodeDom.Compiler.GeneratedCode("NSwag", "13.10.7.0 (NJsonSchema v10.3.9.0 (Newtonsoft.Json v12.0.0.2)")]

These version numbers are recognized by the version control system as a difference because these are changed when NSwag is upgraded.

Question: In general, what is the appropriate way to version control such a code generated automatically using Swagger? Is it appropriate to commit every time, including differences in version numbers?

Jun1s
  • 51
  • 5

0 Answers0