fix!: some types were changed

This commit is contained in:
Iron_Felix 2025-11-15 02:50:29 +03:00
parent d04248ab7a
commit ae01eec0fd
2 changed files with 21 additions and 9 deletions

View file

@ -592,9 +592,19 @@ components:
description: Unique title ID (primary key)
example: 1
title_names:
type: array
items:
type: string
type: object
description: "Localized titles. Key = language (ISO 639-1), value = list of names"
additionalProperties:
type: array
items:
type: string
example: "Attack on Titan"
minItems: 1
example: ["Attack on Titan", "AoT"]
example:
en: ["Attack on Titan", "AoT"]
ru: ["Атака титанов", "Титаны"]
ja: ["進撃の巨人"]
studio_id:
type: integer
format: int64
@ -621,8 +631,8 @@ components:
type: integer
format: int32
episodes_len:
type: array
items:
type: object
additionalProperties:
type: number
format: double
additionalProperties: true