christianhelle / apiclientcodegen

A collection of Visual Studio custom tool code generators for Swagger / OpenAPI specification files
http://bit.ly/restapicodegen
GNU General Public License v3.0
177 stars 23 forks source link

Re-use existing .refitter file if it already exists #909

Closed christianhelle closed 4 months ago

christianhelle commented 4 months ago

PR Classification

This pull request ensures that the existing .refitter file is not overwritten when the user runs the refitter command. It also updates the serialization method to use System.Text.Json.JsonSerializer instead of JsonConvert.SerializeObject.

PR Summary

The pull request modifies the RefitterCodeGenerator.cs file to improve the handling of RefitGeneratorSettings and updates the serialization method.

sonarcloud[bot] commented 4 months ago

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud