namespace Core.Settings; public class OpenApiConfig { public required Location Folder { get; set; } public required Location GeneratorConfigFile { get; set; } public required Location GeneratorIgnoreFile { get; set; } public required Location SpecFile { get; set; } public required Location SpecConfig { get; set; } public required string SpecExtension { get; set; } public required string SchemasIdentifier { get; set; } public required string ConfigIdentifier { get; set; } public void AddRoot(Location root) { SpecConfig = root.ConcatenateWith(SpecConfig); SpecFile = root.ConcatenateWith(SpecFile); } }