[Schema Inaccuracy] Example and schema mismatch for `#/paths/~1repos~1{owner}~1{repo}~1codespaces~1secrets/get`
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- openapi
- 领域
- api
调研方向
从 endpoint 参考 #/paths/1repos1{owner}~1{repo}1codespaces1secrets/get 和示例参考 #/components/examples/repo-codespaces-secret-paginated/value 开始。将 schema 与示例中的 secrets 条目进行比较,重点关注 visibility。对于此响应,只要 schema 和示例在 fpt 与 ghec 中都一致,就算完成。
由索引模型根据 Issue 内容生成。
描述
Schema Inaccuracy
This is the json ref for the example
#/components/examples/repo-codespaces-secret-paginated/value
The field visibility doesn't exist in the schema, but exists in the example.
Here's a snippet
2: "secrets" : [ {
3: "name" : "GH_TOKEN",
4: "created_at" : "2019-08-10T14:59:22Z",
5: "updated_at" : "2020-01-10T14:59:22Z",
> 6: "visibility" : "all"
7: }, {
8: "name" : "GIST_ID",
9: "created_at" : "2020-01-10T10:59:22Z",
10: "updated_at" : "2020-01-11T11:59:22Z",
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
-
难度 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
-
ToTriage
难度 2/5 1-3 小时 新手友好度 86/100
microsoftgraph/msgraph-metadata#1217 ·
维护者通常 4 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
jaegertracing/jaeger-ui#4547 · 3 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复
-
area:dictation bug P1 regression
难度 2/5 1-3 小时 新手友好度 87/100
uttrflow/uttrflow-swift#3387 ·
维护者通常 1 天内回复
-
area:cpan-port area:database bug
难度 2/5 1-3 小时 新手友好度 85/100
fglock/PerlOnJava#1604 ·
维护者通常 1 天内回复