From a22c96e7a021d10b80bf7d5f08a4823025e2e4a2 Mon Sep 17 00:00:00 2001 From: Kirill Date: Fri, 5 Dec 2025 23:27:02 +0300 Subject: [PATCH] build(tgbot-gen): fixing a generator error with a tag The generator makes an error when generating tags with a link to the tag. At the moment, this is fixed by direct insertion. This is not the best solution. If a better option is found, we will fix it. --- api/_build/openapi.yaml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/api/_build/openapi.yaml b/api/_build/openapi.yaml index e096beb..d7a6fac 100644 --- a/api/_build/openapi.yaml +++ b/api/_build/openapi.yaml @@ -550,20 +550,13 @@ components: required: - id - name - Tag: - description: 'A localized tag: keys are language codes (ISO 639-1), values are tag names' - type: object - example: - en: Shojo - ru: Сёдзё - ja: 少女 - additionalProperties: - type: string Tags: description: Array of localized tags type: array items: - $ref: '#/components/schemas/Tag' + type: object + additionalProperties: + type: string example: - en: Shojo ru: Сёдзё