@ -14,6 +14,8 @@
|
|||||||
|
|
||||||
- Depreciated Incident Ticket
|
- 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.
|
These endpoints still work and will remain so until the new Ticket and Ticket Comment Models are production ready.
|
||||||
|
|
||||||
|
|
||||||
|
@ -19,6 +19,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 Problem Ticket',
|
summary = 'Create a Problem Ticket',
|
||||||
description='',
|
description='',
|
||||||
request = PolymorphicProxySerializer(
|
request = PolymorphicProxySerializer(
|
||||||
@ -38,6 +39,7 @@ from core.viewsets.ticket_depreciated import TicketViewSet
|
|||||||
}
|
}
|
||||||
),
|
),
|
||||||
destroy = extend_schema(
|
destroy = extend_schema(
|
||||||
|
deprecated = True,
|
||||||
summary = 'Delete a Problem Ticket',
|
summary = 'Delete a Problem Ticket',
|
||||||
description = '',
|
description = '',
|
||||||
responses = {
|
responses = {
|
||||||
@ -46,6 +48,7 @@ from core.viewsets.ticket_depreciated import TicketViewSet
|
|||||||
}
|
}
|
||||||
),
|
),
|
||||||
list = extend_schema(
|
list = extend_schema(
|
||||||
|
deprecated = True,
|
||||||
summary = 'Fetch all Problem Tickets',
|
summary = 'Fetch all Problem Tickets',
|
||||||
description='',
|
description='',
|
||||||
responses = {
|
responses = {
|
||||||
@ -54,6 +57,7 @@ from core.viewsets.ticket_depreciated import TicketViewSet
|
|||||||
}
|
}
|
||||||
),
|
),
|
||||||
retrieve = extend_schema(
|
retrieve = extend_schema(
|
||||||
|
deprecated = True,
|
||||||
summary = 'Fetch a Problem Ticket',
|
summary = 'Fetch a Problem Ticket',
|
||||||
description='',
|
description='',
|
||||||
responses = {
|
responses = {
|
||||||
@ -63,6 +67,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 Problem Ticket',
|
summary = 'Update a Problem Ticket',
|
||||||
description = '',
|
description = '',
|
||||||
responses = {
|
responses = {
|
||||||
|
Reference in New Issue
Block a user