refactor(schema): simplify validation and OpenAPI generation (#2709)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-11 23:24:26 +02:00
1 parent 4bc5593f9f
commit de1fd95a99
510 files changed
+29494 -36131

No files matched your search

-3
View File
@@ -63,8 +63,6 @@ const ERROR_I18N_KO_MESSAGES = defineErrorI18nLocaleMessages({
"attachments_and_uploads.file_index_exceeds_maximum": "파일 인덱스 {index}가 최대 인덱스 {maxIndex}를 초과했어요.",
"attachments_and_uploads.file_not_found": "파일을 찾을 수 없어요.",
"attachments_and_uploads.file_size_too_large": "파일 크기가 너무 커요. 최대 파일 크기는 {maxSize}이에요.",
"attachments_and_uploads.filename_empty_after_normalization": "정규화 후 파일 이름은 비어 있으면 안 돼요.",
"attachments_and_uploads.filename_invalid_characters": "파일 이름에 유효하지 않은 문자가 포함되어 있어요.",
"attachments_and_uploads.filename_length_invalid": "파일 이름은 {min}자 이상 {max}자 이하여야 해요.",
"attachments_and_uploads.image_size_exceeds_limit": "이미지 크기가 {maxSize}바이트를 초과했어요.",
"attachments_and_uploads.invalid_file_field_name": "유효하지 않은 파일 필드 이름: {key}. 예상 형식: `files[N]` (N은 숫자).",
@@ -372,7 +370,6 @@ const ERROR_I18N_KO_MESSAGES = defineErrorI18nLocaleMessages({
"moderation_and_reports.unclaimed_account_cannot_submit_reports": "신고를 제출하려면 계정 설정을 완료해야 해요.",
"moderation_and_reports.unknown_report": "알 수 없는 신고예요.",
"moderation_and_reports.user_is_not_banned": "이 사용자는 차단되지 않았어요.",
"names_and_normalization.channel_name_empty_after_normalization": "정규화 후 채널 이름은 비워둘 수 없어요.",
"names_and_normalization.name_empty_after_normalization": "정규화 후 이름은 비워둘 수 없어요.",
"permissions.global_ip_banned": "회원님의 IP 주소 {ipAddress}는 플랫폼 관리자가 Fluxer API에서 영구 차단했습니다. 오류라고 생각한다면 [email protected]으로 문의해 이의를 제기하세요. 이의 제기에는 이 IP 주소를 포함하세요.",
"permissions.global_ip_temporarily_banned": "회원님의 IP 주소 {ipAddress}는 악용 또는 비정상적인 접근 패턴으로 인해 Fluxer API에서 24시간 동안 일시 차단되었습니다. 일시적인 API 차단에는 보통 이의 제기를 제공하지 않습니다. IP 주소를 변경하거나 차단이 만료될 때까지 기다리고, 클라이언트에서 Fluxer API로 발생하는 접근 패턴을 검토하세요.",