Import from internal git
This commit is contained in:
21
Core/Settings/OpenApiConfig.cs
Normal file
21
Core/Settings/OpenApiConfig.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user