implement error and healthh endpoints
All checks were successful
Build and Publish / build-release (push) Successful in 1m28s
All checks were successful
Build and Publish / build-release (push) Successful in 1m28s
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user