You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(templates): correct swagger annotation for is_template query param
The description said "returns only template projects" but the actual
behavior matches is_archived: it includes templates alongside normal
projects when set to true.
Copy file name to clipboardExpand all lines: pkg/models/project.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -171,7 +171,7 @@ var FavoritesPseudoProject = Project{
171
171
// @Param per_page query int false "The maximum number of items per page. Note this parameter is limited by the configured maximum of items per page."
172
172
// @Param s query string false "Search projects by title."
173
173
// @Param is_archived query bool false "If true, also returns all archived projects."
174
-
// @Param is_template query bool false "If true, returns only template projects. If false (default), excludes templates."
174
+
// @Param is_template query bool false "If true, also returns all template projects."
175
175
// @Param expand query string false "If set to `permissions`, Vikunja will return the max permission the current user has on this project. You can currently only set this to `permissions`."
176
176
// @Security JWTKeyAuth
177
177
// @Success 200 {array} models.Project "The projects"
0 commit comments