Skip to content

Commit 1a74572

Browse files
authored
Merge pull request #157 from XeroAPI/sid-development
Comment out projects operations that don't currently work in API
2 parents 2e95be9 + 68fa82a commit 1a74572

File tree

1 file changed

+99
-99
lines changed

1 file changed

+99
-99
lines changed

projects-yaml/Xero-projects-1.0.0-swagger.yaml

Lines changed: 99 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -541,108 +541,108 @@ paths:
541541
}
542542
]
543543
}'
544-
post:
545-
security:
546-
- OAuth2: [projects, projects.read]
547-
tags:
548-
- Projects
549-
summary: Allows you to create a task
550-
operationId: createTask
551-
description: Allows you to create a specific task
552-
parameters:
553-
- name: projectId
554-
in: path
555-
required: true
556-
description: You can create a task on a specifid projectId
557-
schema:
558-
type: string
559-
format: uuid
560-
requestBody:
561-
required: true
562-
description: The task object you are creating
563-
content:
564-
application/json:
565-
schema:
566-
$ref: '#/components/schemas/TaskCreateOrUpdate'
567-
example:
568-
'{
569-
"status": "INPROGRESS"
570-
}'
571-
responses:
572-
'200':
573-
description: OK/success, returns a list of tasks created
574-
content:
575-
application/json:
576-
schema:
577-
$ref: '#/components/schemas/Tasks'
544+
# post:
545+
# security:
546+
# - OAuth2: [projects, projects.read]
547+
# tags:
548+
# - Projects
549+
# summary: Allows you to create a task
550+
# operationId: createTask
551+
# description: Allows you to create a specific task
552+
# parameters:
553+
# - name: projectId
554+
# in: path
555+
# required: true
556+
# description: You can create a task on a specifid projectId
557+
# schema:
558+
# type: string
559+
# format: uuid
560+
# requestBody:
561+
# required: true
562+
# description: The task object you are creating
563+
# content:
564+
# application/json:
565+
# schema:
566+
# $ref: '#/components/schemas/TaskCreateOrUpdate'
567+
# example:
568+
# '{
569+
# "status": "INPROGRESS"
570+
# }'
571+
# responses:
572+
# '200':
573+
# description: OK/success, returns a list of tasks created
574+
# content:
575+
# application/json:
576+
# schema:
577+
# $ref: '#/components/schemas/Tasks'
578578
/projects/{projectId}/tasks/{taskId}:
579579
parameters:
580580
- $ref: '#/components/parameters/requiredHeader'
581-
put:
582-
security:
583-
- OAuth2: [projects, projects.read]
584-
tags:
585-
- Projects
586-
summary: Allows you to update a task
587-
operationId: updateTask
588-
description: Allows you to update a specific task
589-
parameters:
590-
- name: projectId
591-
in: path
592-
required: true
593-
description: You can specify an individual project by appending the projectId to the endpoint
594-
schema:
595-
type: string
596-
format: uuid
597-
- name: taskId
598-
in: path
599-
required: true
600-
description: You can specify an individual task by appending the id to the endpoint
601-
schema:
602-
type: string
603-
format: uuid
604-
requestBody:
605-
required: true
606-
description: The task object you are updating
607-
content:
608-
application/json:
609-
schema:
610-
$ref: '#/components/schemas/TaskCreateOrUpdate'
611-
example: ''
612-
responses:
613-
'200':
614-
description: OK/success, returns a list of tasks updated
615-
content:
616-
application/json:
617-
schema:
618-
$ref: '#/components/schemas/Tasks'
619-
delete:
620-
security:
621-
- OAuth2: [projects, projects.read]
622-
tags:
623-
- Projects
624-
summary: Allows you to delete a task
625-
operationId: deleteTask
626-
description: Allows you to delete a specific task
627-
parameters:
628-
- name: projectId
629-
in: path
630-
required: true
631-
description: You can specify an individual project by appending the projectId to the endpoint
632-
schema:
633-
type: string
634-
format: uuid
635-
- name: taskId
636-
in: path
637-
required: true
638-
description: You can specify an individual task by appending the id to the endpoint
639-
schema:
640-
type: string
641-
format: uuid
642-
responses:
643-
'204':
644-
description: Success - return response 204 no content
645-
x-isEmpty: true
581+
# put:
582+
# security:
583+
# - OAuth2: [projects, projects.read]
584+
# tags:
585+
# - Projects
586+
# summary: Allows you to update a task
587+
# operationId: updateTask
588+
# description: Allows you to update a specific task
589+
# parameters:
590+
# - name: projectId
591+
# in: path
592+
# required: true
593+
# description: You can specify an individual project by appending the projectId to the endpoint
594+
# schema:
595+
# type: string
596+
# format: uuid
597+
# - name: taskId
598+
# in: path
599+
# required: true
600+
# description: You can specify an individual task by appending the id to the endpoint
601+
# schema:
602+
# type: string
603+
# format: uuid
604+
# requestBody:
605+
# required: true
606+
# description: The task object you are updating
607+
# content:
608+
# application/json:
609+
# schema:
610+
# $ref: '#/components/schemas/TaskCreateOrUpdate'
611+
# example: ''
612+
# responses:
613+
# '200':
614+
# description: OK/success, returns a list of tasks updated
615+
# content:
616+
# application/json:
617+
# schema:
618+
# $ref: '#/components/schemas/Tasks'
619+
# delete:
620+
# security:
621+
# - OAuth2: [projects, projects.read]
622+
# tags:
623+
# - Projects
624+
# summary: Allows you to delete a task
625+
# operationId: deleteTask
626+
# description: Allows you to delete a specific task
627+
# parameters:
628+
# - name: projectId
629+
# in: path
630+
# required: true
631+
# description: You can specify an individual project by appending the projectId to the endpoint
632+
# schema:
633+
# type: string
634+
# format: uuid
635+
# - name: taskId
636+
# in: path
637+
# required: true
638+
# description: You can specify an individual task by appending the id to the endpoint
639+
# schema:
640+
# type: string
641+
# format: uuid
642+
# responses:
643+
# '204':
644+
# description: Success - return response 204 no content
645+
# x-isEmpty: true
646646
/projects/{projectId}/time:
647647
parameters:
648648
- $ref: '#/components/parameters/requiredHeader'

0 commit comments

Comments
 (0)