feat(assistance): Depreciate Ticket Comment

ref: #732 #564 #726
This commit is contained in:
2025-04-26 07:34:55 +09:30
parent bc1d5ffc03
commit b729842a1c
2 changed files with 8 additions and 0 deletions

View File

@ -5,6 +5,9 @@
- Ticket and Ticket Comment added behind feature flag `2025-00006` and will remain behind this flag until production ready.
- In preparation of the [Ticket and Ticket Comment model re-write](https://github.com/nofusscomputing/centurion_erp/issues/564)
- Depreciated Ticket Comment Endpoint
- Depreciated Request Ticket
These endpoints still work and will remain so until the new Ticket and Ticket Comment Models are production ready.

View File

@ -41,6 +41,7 @@ from settings.models.user_settings import UserSettings
@extend_schema_view(
create=extend_schema(
deprecated = True,
summary = 'Create a ticket comment',
description="""Ticket Comment API requests depend upon the users permission and comment type.
To view an examaple of a request, select the correct schema _Link above example, called schema_.
@ -81,6 +82,7 @@ Responses from the API are the same for all users when the request returns
}
),
destroy = extend_schema(
deprecated = True,
summary = 'Delete a ticket comment',
description = '',
parameters = [
@ -101,6 +103,7 @@ Responses from the API are the same for all users when the request returns
}
),
list = extend_schema(
deprecated = True,
summary = 'Fetch all ticket comments',
description='',
parameters = [
@ -116,6 +119,7 @@ Responses from the API are the same for all users when the request returns
}
),
retrieve = extend_schema(
deprecated = True,
summary = 'Fetch a single ticket comment',
description='',
parameters = [
@ -137,6 +141,7 @@ Responses from the API are the same for all users when the request returns
),
update = extend_schema(exclude = True),
partial_update = extend_schema(
deprecated = True,
summary = 'Update a ticket comment',
description = '',
parameters = [