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:
OlgunR
2026-06-15 16:21:43 +02:00
parent b25d593771
commit 297f760e7f
13 changed files with 101 additions and 4 deletions

View File

@@ -0,0 +1,6 @@
namespace DocumentOperator.API.Middleware
{
public class ExceptionHandlingMiddleware
{
}
}

View File

@@ -0,0 +1,6 @@
namespace DocumentOperator.API.Middleware
{
public class RequestLoggingMiddleware
{
}
}

View File

@@ -0,0 +1,6 @@
namespace DocumentOperator.API.Middleware
{
public class TenantResolutionMiddleware
{
}
}