[Schema Inaccuracy] Example and schema mismatch for `#/paths/~1assignments~1{assignment_id}/get`
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 48/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- openapi
- 领域
- api
调研方向
首先定位 #/components/examples/classroom-assignment/value 处的 classroom-assignment 示例和 #/paths/1assignments1{assignment_id}/get 处的 GET 操作。将示例中的 archived 字段与其 schema 进行比较,然后验证 fpt 和 ghec 的描述。示例和 schema 在没有验证错误的情况下保持一致,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Schema Inaccuracy
This is the json ref for the example
#/components/examples/classroom-assignment/value
Boolean in example is a string with a comma at the end.
Here's a snippet
2: "accepted" : 100,
3: "classroom" : {
4: "id" : 1296269,
5: "name" : "Programming Elixir",
> 6: "archived" : "false,",
7: "url" : "https://classroom.github.com/classrooms/1-programming-elixir"
8: },
9: "deadline" : "2011-01-26T19:06:43Z",
10: "editor" : "codespaces",
Expected
The schema and example are in sync
Reproduction Steps
I could reproduce this in
- fpt
- ghec
- 主要语言
- 没有语言数据
- 星标
- 1.6k
- 派生
- 345
- 平均合并
- 6 小时
- 30 天内合并 PR
- 82
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/rest-api-description 的其他 Issue
-
feature
难度 1/5 1 小时以内 新手友好度 88/100
github/rest-api-description#7266 · 1 条评论 ·
维护者通常 1 天内回复
-
feature
难度 2/5 1-3 小时 新手友好度 82/100
github/rest-api-description#7246 ·
维护者通常 1 天内回复
-
feature
难度 2/5 1-3 小时 新手友好度 85/100
github/rest-api-description#7220 ·
维护者通常 1 天内回复
-
feature
难度 2/5 1-3 小时 新手友好度 82/100
github/rest-api-description#7201 ·
维护者通常 1 天内回复
-
feature
难度 2/5 1-3 小时 新手友好度 72/100
github/rest-api-description#7163 ·
维护者通常 1 天内回复
查看 github/rest-api-description 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
CopilotKit/OpenDots#55 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
pymc-labs/pymc-marketing#3102 · 1 条评论 ·
维护者通常 1 天内回复
-
comp/plugins duplicate P3 platform/slack type/bug
难度 2/5 1-3 小时 新手友好度 82/100
NousResearch/hermes-agent#132594 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
-
needs-triage
难度 2/5 1-3 小时 新手友好度 76/100
LucasSantana-Dev/Lucky#2637 ·
维护者通常 1 天内回复