[Schema Inaccuracy] Example and schema mismatch for `#/paths/~1assignments~1{assignment_id}/get`
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- openapi
- 領域
- api
調査の方向性
まず、#/components/examples/classroom-assignment/value にある classroom-assignment の例と、#/paths/1assignments1{assignment_id}/get にある GET 操作を見つけます。例の archived フィールドをそのスキーマと比較し、fpt と ghec の説明を検証します。例とスキーマが検証エラーなしで一致すれば完了です。
索引モデルが 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時間
- マージ済み PR(30日)
- 82
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
paperclipai/paperclip#14982 ·
メンテナーはふだん 1 日以内に返信
-
cbor
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
FasterXML/jackson-dataformats-binary#844 ·
メンテナーはふだん 1 日以内に返信
-
HasBacktrace Priority-Critical
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
azerothcore/azerothcore-wotlk#27921 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
lawndoc/stack-back#123 ·
-
type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信