implement error and healthh endpoints
All checks were successful
Build and Publish / build-release (push) Successful in 1m28s

This commit is contained in:
2026-04-15 15:56:33 -05:00
parent fecc0cf562
commit 847a057e7b
3 changed files with 35 additions and 0 deletions

View File

@@ -6,6 +6,9 @@ defmodule ProviderServiceWeb.Router do
plug(OpenApiSpex.Plug.PutApiSpec, module: ProviderServiceWeb.ApiSpec)
end
get("/health", ProviderServiceWeb.HealthController, :health)
get("/health/ready", ProviderServiceWeb.HealthController, :ready)
scope "/api" do
pipe_through(:api)