Add editorconfig and analyzers, format backend code
This commit is contained in:
+15
-16
@@ -1,25 +1,24 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Musify.Infrastructure.Configuration
|
||||
namespace Musify.Infrastructure.Configuration;
|
||||
|
||||
public class InfrastructureStorageConfiguration
|
||||
{
|
||||
public class InfrastructureStorageConfiguration
|
||||
{
|
||||
public const string SectionName = "InfrastructureStorage";
|
||||
public const string SectionName = "InfrastructureStorage";
|
||||
|
||||
[Url]
|
||||
[Required]
|
||||
public required string Address { get; set; }
|
||||
[Url]
|
||||
[Required]
|
||||
public required string Address { get; set; }
|
||||
|
||||
[Required]
|
||||
public required string AccessKey { get; set; }
|
||||
[Required]
|
||||
public required string AccessKey { get; set; }
|
||||
|
||||
[Required]
|
||||
public required string SecretAccessKey { get; set; }
|
||||
[Required]
|
||||
public required string SecretAccessKey { get; set; }
|
||||
|
||||
[Required]
|
||||
public bool ForcePathStyle { get; set; }
|
||||
[Required]
|
||||
public bool ForcePathStyle { get; set; }
|
||||
|
||||
[Required]
|
||||
public bool UseHttp { get; set; }
|
||||
}
|
||||
[Required]
|
||||
public bool UseHttp { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user