feat(openapi): validate Dart SDK generation, make the spec self-sufficient (#1181)

Signed-off-by: Hampus Kraft <[email protected]>
This commit is contained in:
Hampus authored and GitHub committed 2026-06-26 07:48:51 +02:00
1 parent 097e10d651
commit 6e87f6e3d1
7 files changed
+1248 -1146

No files matched your search

@@ -58,7 +58,7 @@ const ReactionEmojiResponse = z.object({
export const MessageReactionResponse = z.object({
emoji: ReactionEmojiResponse.describe('The emoji used for the reaction'),
count: Int32Type.describe('The total number of times this reaction has been used'),
me: z.literal(true).nullish().describe('Whether the current user has reacted with this emoji'),
me: z.boolean().nullish().describe('Whether the current user has reacted with this emoji'),
});
export type MessageReactionResponse = z.infer<typeof MessageReactionResponse>;