mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 10:12:51 +00:00
feat: Generate i18n file (#2022)
This commit is contained in:
parent
6c18ae1ebe
commit
90f4d59ec5
|
|
@ -786,7 +786,7 @@ class DocumentSerializers(ApiMixin, serializers.Serializer):
|
|||
'user_id': openapi.Schema(type=openapi.TYPE_STRING, title=_('user id'), description=_('user id')),
|
||||
'paragraph_count': openapi.Schema(type=openapi.TYPE_INTEGER, title="_('document count')",
|
||||
description="_('document count')", default=1),
|
||||
'is_active': openapi.Schema(type=openapi.TYPE_BOOLEAN, title=_(''),
|
||||
'is_active': openapi.Schema(type=openapi.TYPE_BOOLEAN, title=_('Is active'),
|
||||
description=_('Is active'), default=True),
|
||||
'update_time': openapi.Schema(type=openapi.TYPE_STRING, title=_('update time'),
|
||||
description=_('update time'),
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ class FileView(APIView):
|
|||
parser_classes = [MultiPartParser]
|
||||
|
||||
@action(methods=['POST'], detail=False)
|
||||
@swagger_auto_schema(operation_summary=_(''),
|
||||
@swagger_auto_schema(operation_summary=_('Upload file'),
|
||||
operation_id=_('Upload file'),
|
||||
manual_parameters=[openapi.Parameter(name='file',
|
||||
in_=openapi.IN_FORM,
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue