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.
This commit is contained in:
parent
20cf8b1fc2
commit
a22c96e7a0
1 changed files with 3 additions and 10 deletions
|
|
@ -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: Сёдзё
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue