first commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace ERPCore.Controllers;
|
||||
|
||||
/// <summary>
|
||||
/// Non-domain metadata endpoint. Confirms the controller pipeline, Swagger and
|
||||
/// routing are wired; domain endpoints are defined per docs/11-BACKEND-PHASE1.md.
|
||||
/// </summary>
|
||||
[ApiController]
|
||||
[Route("api/[controller]")]
|
||||
public sealed class MetaController : ControllerBase
|
||||
{
|
||||
[HttpGet]
|
||||
public IActionResult Get() => Ok(new
|
||||
{
|
||||
name = "ERPCore API",
|
||||
phase = "Phase 1 — Inventory & Supply Chain",
|
||||
version = "v1",
|
||||
utc = DateTime.UtcNow
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user