This pull request aligns with how Refitter works with NSwag Studio. By default, the .refitter file will now contain the remote URL to make it easier to re-generate the API Client.
PR Summary
This PR enhances the file handling and code generation process by introducing new methods and refining existing ones.
Added and reorganized several namespaces for better code organization.
Introduced changes in file naming and extension handling based on the code generator used.
Added SetCustomToolAsync method in the project file for setting the custom tool and handling code generation.
Added GetRefitterFileContent method for generating content for a Refitter file.
Refactored the OnInstallPackagesAsync method to be called only when the project is not null.
PR Classification
This pull request aligns with how Refitter works with NSwag Studio. By default, the
.refitter
file will now contain the remote URL to make it easier to re-generate the API Client.PR Summary
This PR enhances the file handling and code generation process by introducing new methods and refining existing ones.
SetCustomToolAsync
method in the project file for setting the custom tool and handling code generation.GetRefitterFileContent
method for generating content for a Refitter file.OnInstallPackagesAsync
method to be called only when the project is not null.