mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-28 14:52:58 +00:00
feat: add request handling to UnAssociation and Association API endpoints
This commit is contained in:
parent
8fb8c06e0b
commit
aa7bc349ab
|
|
@ -212,6 +212,7 @@ class ParagraphView(APIView):
|
|||
description=_('Disassociation issue'),
|
||||
operation_id=_('Disassociation issue'), # type: ignore
|
||||
parameters=UnAssociationAPI.get_parameters(),
|
||||
request=UnAssociationAPI.get_request(),
|
||||
responses=UnAssociationAPI.get_response(),
|
||||
tags=[_('Knowledge Base/Documentation/Paragraph')] # type: ignore
|
||||
)
|
||||
|
|
@ -236,6 +237,7 @@ class ParagraphView(APIView):
|
|||
description=_('Related questions'),
|
||||
operation_id=_('Related questions'), # type: ignore
|
||||
parameters=AssociationAPI.get_parameters(),
|
||||
request=AssociationAPI.get_request(),
|
||||
responses=AssociationAPI.get_response(),
|
||||
tags=[_('Knowledge Base/Documentation/Paragraph')] # type: ignore
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue