Sha256: 59fa4c0f21d33595c9e9c78a06aa9d52845c627d418286f76d5210c3826a4dc5
Contents?: true
Size: 438 Bytes
Versions: 10
Compression:
Stored size: 438 Bytes
Contents
using Microsoft.AspNetCore.Mvc; namespace <%= namespace %>.Controllers { [Route("v1/[controller]")] public class HealthController : Controller { public class HealthResponse { public string Status { get; set; } } // GET api/health [HttpGet] public HealthResponse Get() { return new HealthResponse { Status = "OK" }; } } }
Version data entries
10 entries across 10 versions & 1 rubygems