refactor(backend): align api namespaces and project name
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
using FastEndpoints;
|
||||
using SpaceGame.Simulation.Api.Simulation;
|
||||
using SpaceGame.Api.Simulation;
|
||||
|
||||
namespace SpaceGame.Simulation.Api.Handlers;
|
||||
namespace SpaceGame.Api.Handlers;
|
||||
|
||||
public sealed class GetWorldHandler(WorldService worldService) : EndpointWithoutRequest
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using FastEndpoints;
|
||||
using SpaceGame.Simulation.Api.Simulation;
|
||||
using SpaceGame.Api.Simulation;
|
||||
|
||||
namespace SpaceGame.Simulation.Api.Handlers;
|
||||
namespace SpaceGame.Api.Handlers;
|
||||
|
||||
public sealed class GetWorldHealthHandler(WorldService worldService) : EndpointWithoutRequest
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using FastEndpoints;
|
||||
using SpaceGame.Simulation.Api.Simulation;
|
||||
using SpaceGame.Api.Simulation;
|
||||
|
||||
namespace SpaceGame.Simulation.Api.Handlers;
|
||||
namespace SpaceGame.Api.Handlers;
|
||||
|
||||
public sealed class ResetWorldHandler(WorldService worldService) : EndpointWithoutRequest
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using FastEndpoints;
|
||||
|
||||
namespace SpaceGame.Simulation.Api.Handlers;
|
||||
namespace SpaceGame.Api.Handlers;
|
||||
|
||||
public sealed class RootRedirectHandler : EndpointWithoutRequest
|
||||
{
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
using System.Text.Json;
|
||||
using FastEndpoints;
|
||||
using SpaceGame.Simulation.Api.Contracts;
|
||||
using SpaceGame.Simulation.Api.Simulation;
|
||||
using SpaceGame.Api.Contracts;
|
||||
using SpaceGame.Api.Simulation;
|
||||
|
||||
namespace SpaceGame.Simulation.Api.Handlers;
|
||||
namespace SpaceGame.Api.Handlers;
|
||||
|
||||
public sealed class StreamWorldHandler(WorldService worldService) : EndpointWithoutRequest
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user