@@ -34,7 +34,7 @@ type ScopeDetail api.ScopeDetail[models.TeambitionProject, models.TeambitionScop
34
34
// @Accept application/json
35
35
// @Param connectionId path int true "connection ID"
36
36
// @Param scope body PutScopesReqBody true "json"
37
- // @Success 200 {object} []models.teambitionRepo
37
+ // @Success 200 {object} []models.TeambitionProject
38
38
// @Failure 400 {object} shared.ApiBody "Bad Request"
39
39
// @Failure 500 {object} shared.ApiBody "Internal Error"
40
40
// @Router /plugins/teambition/connections/{connectionId}/scopes [PUT]
@@ -49,8 +49,8 @@ func PutScopes(input *plugin.ApiResourceInput) (*plugin.ApiResourceOutput, error
49
49
// @Accept application/json
50
50
// @Param connectionId path int true "connection ID"
51
51
// @Param scopeId path int true "scope ID"
52
- // @Param scope body models.teambitionRepo true "json"
53
- // @Success 200 {object} models.teambitionRepo
52
+ // @Param scope body models.TeambitionProject true "json"
53
+ // @Success 200 {object} models.TeambitionProject
54
54
// @Failure 400 {object} shared.ApiBody "Bad Request"
55
55
// @Failure 500 {object} shared.ApiBody "Internal Error"
56
56
// @Router /plugins/teambition/connections/{connectionId}/scopes/{scopeId} [PATCH]
@@ -97,7 +97,7 @@ func GetScope(input *plugin.ApiResourceInput) (*plugin.ApiResourceOutput, errors
97
97
// @Param connectionId path int true "connection ID"
98
98
// @Param scopeId path int true "scope ID"
99
99
// @Param delete_data_only query bool false "Only delete the scope data, not the scope itself"
100
- // @Success 200 {object} models.teambitionRepo
100
+ // @Success 200 {object} models.TeambitionProject
101
101
// @Failure 400 {object} shared.ApiBody "Bad Request"
102
102
// @Failure 409 {object} srvhelper.DsRefs "References exist to this scope"
103
103
// @Failure 500 {object} shared.ApiBody "Internal Error"
0 commit comments