Refactor project structure and add new features
Restructured project files across all layers: - Removed `Controllers` folder reference from `DocumentOperator.API.csproj`. - Added folder structure to `DocumentOperator.Application`, `DocumentOperator.Domain`, and `DocumentOperator.Infrastructure` projects for better organization. Introduced new API configurations and middleware: - Added `SerilogConfiguration` and `SwaggerConfiguration` classes. - Added `ExceptionHandlingMiddleware`, `RequestLoggingMiddleware`, and `TenantResolutionMiddleware`. Implemented new document processing feature: - Added `ProcessDocumentCommand`, `ProcessDocumentHandler`, and `ProcessDocumentValidator` classes in the application layer.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
namespace DocumentOperator.API.Configuration
|
||||
{
|
||||
public class SerilogConfiguration
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace DocumentOperator.API.Configuration
|
||||
{
|
||||
public class SwaggerConfiguration
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -19,8 +19,4 @@
|
||||
<ProjectReference Include="..\DocumentOperator.Infrastructure\DocumentOperator.Infrastructure.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Controllers\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
6
DocumentOperator.API/Endpoints/v1/DocumentEndpoints.cs
Normal file
6
DocumentOperator.API/Endpoints/v1/DocumentEndpoints.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace DocumentOperator.API.Endpoints.v1
|
||||
{
|
||||
public class DocumentEndpoints
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace DocumentOperator.API.Middleware
|
||||
{
|
||||
public class ExceptionHandlingMiddleware
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace DocumentOperator.API.Middleware
|
||||
{
|
||||
public class RequestLoggingMiddleware
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace DocumentOperator.API.Middleware
|
||||
{
|
||||
public class TenantResolutionMiddleware
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user