feat: Generate i18n file (#2022)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run

This commit is contained in:
shaohuzhang1 2025-01-14 10:37:00 +08:00 committed by GitHub
parent 6c18ae1ebe
commit 90f4d59ec5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 17487 additions and 11 deletions

View File

@ -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'),

View File

@ -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