simplify task api
All checks were successful
Build and Publish / build-release (push) Successful in 1m23s

This commit is contained in:
2026-04-17 11:42:19 -05:00
parent 202538e844
commit 01ad2270bc
13 changed files with 320 additions and 301 deletions

View File

@@ -19,8 +19,9 @@ defmodule WorkloadServiceWeb.Router do
scope "/v1" do
get "/tasks", TaskController, :list
get "/tasks/:id", TaskController, :show
post "/tasks/:id/respond-quote", TaskController, :respond_to_quote
post "/tasks/:id/confirm-delivery", TaskController, :confirm_delivery
post "/tasks/:id/submit", TaskController, :submit
post "/tasks/:id/approve", TaskController, :approve
post "/tasks/:id/complete", TaskController, :complete
end
end
@@ -29,4 +30,4 @@ defmodule WorkloadServiceWeb.Router do
get "/", OpenApiSpex.Plug.SwaggerUI, path: "/api/openapi"
end
end
end
end