feat(project_management): Depreciate Project Task Ticket Endpoint

ref: #732 #564
This commit is contained in:
2025-04-26 07:38:10 +09:30
parent da13343b27
commit db47d0e160
2 changed files with 7 additions and 0 deletions

View File

@ -16,6 +16,8 @@
- Depreciated Problem Ticket - Depreciated Problem Ticket
- Depreciated Project Task Ticket
These endpoints still work and will remain so until the new Ticket and Ticket Comment Models are production ready. These endpoints still work and will remain so until the new Ticket and Ticket Comment Models are production ready.

View File

@ -20,6 +20,7 @@ from core.viewsets.ticket_depreciated import TicketViewSet
@extend_schema_view( @extend_schema_view(
create=extend_schema( create=extend_schema(
deprecated = True,
summary = 'Create a Project Task', summary = 'Create a Project Task',
description='', description='',
parameters = [ parameters = [
@ -46,6 +47,7 @@ from core.viewsets.ticket_depreciated import TicketViewSet
} }
), ),
destroy = extend_schema( destroy = extend_schema(
deprecated = True,
summary = 'Delete a Project Task', summary = 'Delete a Project Task',
description = '', description = '',
parameters = [ parameters = [
@ -66,6 +68,7 @@ from core.viewsets.ticket_depreciated import TicketViewSet
} }
), ),
list = extend_schema( list = extend_schema(
deprecated = True,
summary = 'Fetch all Project Task', summary = 'Fetch all Project Task',
description='', description='',
parameters = [ parameters = [
@ -81,6 +84,7 @@ from core.viewsets.ticket_depreciated import TicketViewSet
} }
), ),
retrieve = extend_schema( retrieve = extend_schema(
deprecated = True,
summary = 'Fetch a Project Task', summary = 'Fetch a Project Task',
description='', description='',
parameters = [ parameters = [
@ -102,6 +106,7 @@ from core.viewsets.ticket_depreciated import TicketViewSet
), ),
update = extend_schema(exclude = True), update = extend_schema(exclude = True),
partial_update = extend_schema( partial_update = extend_schema(
deprecated = True,
summary = 'Update a Project Task', summary = 'Update a Project Task',
description = '', description = '',
parameters = [ parameters = [