highsidelabs / saloon-sdk-generator

Generate Saloon SDKs from Postman Collections and OpenAPI Specifications.
MIT License
2 stars 5 forks source link

Avoid overwriting supporting files when regenerating code #7

Open jlevers opened 3 months ago

jlevers commented 3 months ago

Currently, all the supporting files (traits, contracts, exceptions, Dto, BaseResource, EmptyResponse, Request, Response) are overwritten every time code is regenerated. These are files that are pretty likely to be changed by the end user, so there should be some kind of check that alerts the user that their code is being overwritten.