From 0c8cc8e32d920e78c72d64bbbdfdb745b1808dea Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 7 Apr 2026 17:39:33 +0200 Subject: [PATCH] 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. --- pkg/models/project.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/models/project.go b/pkg/models/project.go index 9eee78c44..1e52f447e 100644 --- a/pkg/models/project.go +++ b/pkg/models/project.go @@ -171,7 +171,7 @@ var FavoritesPseudoProject = Project{ // @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." // @Param s query string false "Search projects by title." // @Param is_archived query bool false "If true, also returns all archived projects." -// @Param is_template query bool false "If true, returns only template projects. If false (default), excludes templates." +// @Param is_template query bool false "If true, also returns all template projects." // @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`." // @Security JWTKeyAuth // @Success 200 {array} models.Project "The projects"