changed status code to 201 when creating resource
This commit is contained in:
parent
3c692d2026
commit
5a0489048a
@ -120,7 +120,7 @@ func (c *AdmiraltyController) GetOneTarget() {
|
|||||||
// @Title CreateSource
|
// @Title CreateSource
|
||||||
// @Description Create an Admiralty Source on remote cluster
|
// @Description Create an Admiralty Source on remote cluster
|
||||||
// @Param execution path string true "execution id of the workflow"
|
// @Param execution path string true "execution id of the workflow"
|
||||||
// @Success 200
|
// @Success 201
|
||||||
// @router /source/:execution [post]
|
// @router /source/:execution [post]
|
||||||
func (c *AdmiraltyController) CreateSource() {
|
func (c *AdmiraltyController) CreateSource() {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user