mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-07-15 14:22:28 -05:00
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.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user