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