changed status code to 201 when creating resource

This commit is contained in:
pb 2025-03-12 10:53:48 +01:00
parent 3c692d2026
commit 5a0489048a

View File

@ -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() {