From 2d22c4ff7d6d6c973bd095b5a470160fd79f0f1b Mon Sep 17 00:00:00 2001 From: Chaim Lev-Ari Date: Thu, 4 May 2023 21:32:46 +0700 Subject: [PATCH] docs(stacks): require endpointId for delete [EE-4334] (#8897) --- api/http/handler/stacks/stack_delete.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/http/handler/stacks/stack_delete.go b/api/http/handler/stacks/stack_delete.go index 02c07a865..69139731d 100644 --- a/api/http/handler/stacks/stack_delete.go +++ b/api/http/handler/stacks/stack_delete.go @@ -29,7 +29,7 @@ import ( // @security jwt // @param id path int true "Stack identifier" // @param external query boolean false "Set to true to delete an external stack. Only external Swarm stacks are supported" -// @param endpointId query int false "Environment(Endpoint) identifier used to remove an external stack (required when external is set to true)" +// @param endpointId query int true "Environment(Endpoint) identifier used to remove an external stack (required when external is set to true)" // @success 204 "Success" // @failure 400 "Invalid request" // @failure 403 "Permission denied"