Fix API change in help forum integration

Aligns help forum topic tags with the dedicated tag model to match recent API changes.
This commit is contained in:
davelopez
2026-02-06 12:07:09 +01:00
parent 3653f218f5
commit 087965217c
2 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -13900,7 +13900,7 @@ export interface components {
* Tags
* @description The tags of the topic.
*/
tags: string[];
tags: components["schemas"]["HelpForumTag"][];
/**
* Tags Descriptions
* @description The descriptions of the tags of the topic.
+7 -7
View File
@@ -22,6 +22,12 @@ class HelpTempBaseModel(Model):
model_config = ConfigDict(extra="allow")
class HelpForumTag(HelpTempBaseModel):
"""Model for a tag in the help forum."""
pass
class HelpForumPost(HelpTempBaseModel):
"""Model for a post in the help forum."""
@@ -59,7 +65,7 @@ class HelpForumTopic(Model):
archived: Annotated[bool, Field(description="Whether the topic is archived.")]
bookmarked: Annotated[Optional[bool], Field(default=None, description="Whether the topic is bookmarked.")]
liked: Annotated[Optional[bool], Field(default=None, description="Whether the topic is liked.")]
tags: Annotated[list[str], Field(description="The tags of the topic.")]
tags: Annotated[list[HelpForumTag], Field(description="The tags of the topic.")]
tags_descriptions: Annotated[
Optional[Any], Field(default=None, description="The descriptions of the tags of the topic.")
]
@@ -79,12 +85,6 @@ class HelpForumCategory(HelpTempBaseModel):
pass
class HelpForumTag(HelpTempBaseModel):
"""Model for a tag in the help forum."""
pass
class HelpForumGroup(HelpTempBaseModel):
"""Model for a group in the help forum."""