abraham / abraham/mastodon-openapi

Stream response schemas

未关闭
#166 1 条评论 1 个 reaction 已指派 1 人 已指派给 @Copilot 在 GitHub 查看
主要语言
TypeScript
星标
20
派生
0
平均合并
2 天 17 小时
30 天内合并 PR
18

描述

Add schema for the data shapes in the streaming endpoints.

- API docs: https://docs.joinmastodon.org/methods/streaming/
- Example SSE implementation in OpenAPI: https://www.speakeasy.com/docs/sdks/customize/runtime/server-sent-events

The content type should be updated to `text/event-stream`. Implement schemas similar to "Handling Multiple Event Types" from the example link.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。