Merge pull request #21773 from davelopez/25.1_fix_help_forun_integration

[25.1] Fix help forum integration
This commit is contained in:
Marius van den Beek
2026-02-09 15:55:38 +01:00
committed by GitHub
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."""