[skip ci] Updated swagger docs

This commit is contained in:
Frederick [Bot] 2026-06-19 08:34:37 +00:00
parent f3c6312a9e
commit 822fde2594
3 changed files with 17 additions and 5 deletions

View File

@ -3438,7 +3438,7 @@ const docTemplate = `{
"JWTKeyAuth": []
}
],
"description": "Copies the project, tasks, files, kanban data, assignees, comments, attachments, labels, relations, backgrounds, user/team permissions and link shares from one project to a new one. The user needs read access in the project and write access in the parent of the new project.",
"description": "Copies the project, tasks, files, kanban data, assignees, comments, attachments, labels, relations and backgrounds from one project to a new one. User/team permissions and link shares are only copied when duplicate_shares is set to true. The user needs read access in the project and write access in the parent of the new project.",
"consumes": [
"application/json"
],
@ -9665,6 +9665,10 @@ const docTemplate = `{
"models.ProjectDuplicate": {
"type": "object",
"properties": {
"duplicate_shares": {
"description": "Whether to copy the project's shares to the duplicate",
"type": "boolean"
},
"duplicated_project": {
"description": "The copied project",
"allOf": [

View File

@ -3430,7 +3430,7 @@
"JWTKeyAuth": []
}
],
"description": "Copies the project, tasks, files, kanban data, assignees, comments, attachments, labels, relations, backgrounds, user/team permissions and link shares from one project to a new one. The user needs read access in the project and write access in the parent of the new project.",
"description": "Copies the project, tasks, files, kanban data, assignees, comments, attachments, labels, relations and backgrounds from one project to a new one. User/team permissions and link shares are only copied when duplicate_shares is set to true. The user needs read access in the project and write access in the parent of the new project.",
"consumes": [
"application/json"
],
@ -9657,6 +9657,10 @@
"models.ProjectDuplicate": {
"type": "object",
"properties": {
"duplicate_shares": {
"description": "Whether to copy the project's shares to the duplicate",
"type": "boolean"
},
"duplicated_project": {
"description": "The copied project",
"allOf": [

View File

@ -577,6 +577,9 @@ definitions:
type: object
models.ProjectDuplicate:
properties:
duplicate_shares:
description: Whether to copy the project's shares to the duplicate
type: boolean
duplicated_project:
allOf:
- $ref: '#/definitions/models.Project'
@ -4703,9 +4706,10 @@ paths:
consumes:
- application/json
description: Copies the project, tasks, files, kanban data, assignees, comments,
attachments, labels, relations, backgrounds, user/team permissions and link
shares from one project to a new one. The user needs read access in the project
and write access in the parent of the new project.
attachments, labels, relations and backgrounds from one project to a new one.
User/team permissions and link shares are only copied when duplicate_shares
is set to true. The user needs read access in the project and write access
in the parent of the new project.
parameters:
- description: The project ID to duplicate
in: path