Files
api-generator/Generator/Services/PreGenerationService.cs
2025-10-11 13:08:09 +02:00

22 lines
491 B
C#

using Core.Process;
using Core.SpecConfig;
using Generator.Repo;
namespace Generator.Services;
public class PreGenerationService
{
private readonly PreGenerationRepo _repo;
public PreGenerationService(PreGenerationRepo repo)
{
_repo = repo;
}
public GenerationProcess ComputeGeneration(string specPath, GenerationType? generationType, PublishType publishType)
{
return _repo.GetProcess(specPath, generationType, publishType);
}
}