public void Run(string file, string customNamespace = null) { if (string.IsNullOrWhiteSpace(file)) { return; } var codeGenerator = factory.Create(file); codeGenerator.GenerateCode(null); }
public void Run(string file, string customNamespace = null) { if (string.IsNullOrWhiteSpace(file)) { return; } Logger.Instance.TrackFeatureUsage("Generate NSwag Studio output", "VSMac"); var codeGenerator = factory.Create(file); codeGenerator.GenerateCode(null); }