Import from internal git

This commit is contained in:
2025-10-11 13:08:09 +02:00
commit 97aaa715dc
175 changed files with 7014 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
using Core;
using Generator.Repo;
namespace Generator.Services;
public class AnalyzeService
{
private readonly ApiAnalyzer _analyzer;
public AnalyzeService(ApiAnalyzer analyzer)
{
_analyzer = analyzer;
}
public IEnumerable<Location> ListSpecs() => _analyzer.ListSpecifications();
public bool CanBeGenerated(string folder, string spec) => _analyzer.CanBeGenerated(folder, spec);
public string GetSpecText(string folder, string spec) => _analyzer.GetText(folder, spec);
}