From 5a0489048aaf099aa82e9f893b74353435ebd764 Mon Sep 17 00:00:00 2001 From: pb Date: Wed, 12 Mar 2025 10:53:48 +0100 Subject: [PATCH] changed status code to 201 when creating resource --- controllers/admiralty.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/admiralty.go b/controllers/admiralty.go index 11af077..3032fbf 100644 --- a/controllers/admiralty.go +++ b/controllers/admiralty.go @@ -120,7 +120,7 @@ func (c *AdmiraltyController) GetOneTarget() { // @Title CreateSource // @Description Create an Admiralty Source on remote cluster // @Param execution path string true "execution id of the workflow" -// @Success 200 +// @Success 201 // @router /source/:execution [post] func (c *AdmiraltyController) CreateSource() {