diff --git a/Release-Notes.md b/Release-Notes.md index 20c05aa3..860a65a3 100644 --- a/Release-Notes.md +++ b/Release-Notes.md @@ -14,6 +14,8 @@ - Depreciated Incident Ticket + - Depreciated Problem Ticket + These endpoints still work and will remain so until the new Ticket and Ticket Comment Models are production ready. diff --git a/app/itim/viewsets/problem.py b/app/itim/viewsets/problem.py index 7e1ec416..bcfea554 100644 --- a/app/itim/viewsets/problem.py +++ b/app/itim/viewsets/problem.py @@ -19,6 +19,7 @@ from core.viewsets.ticket_depreciated import TicketViewSet @extend_schema_view( create=extend_schema( + deprecated = True, summary = 'Create a Problem Ticket', description='', request = PolymorphicProxySerializer( @@ -38,6 +39,7 @@ from core.viewsets.ticket_depreciated import TicketViewSet } ), destroy = extend_schema( + deprecated = True, summary = 'Delete a Problem Ticket', description = '', responses = { @@ -46,6 +48,7 @@ from core.viewsets.ticket_depreciated import TicketViewSet } ), list = extend_schema( + deprecated = True, summary = 'Fetch all Problem Tickets', description='', responses = { @@ -54,6 +57,7 @@ from core.viewsets.ticket_depreciated import TicketViewSet } ), retrieve = extend_schema( + deprecated = True, summary = 'Fetch a Problem Ticket', description='', responses = { @@ -63,6 +67,7 @@ from core.viewsets.ticket_depreciated import TicketViewSet ), update = extend_schema(exclude = True), partial_update = extend_schema( + deprecated = True, summary = 'Update a Problem Ticket', description = '', responses = {