[Schema Inaccuracy] Example and schema mismatch for `#/paths/~1orgs~1{org}~1members~1{username}~1codespaces~1{codespace_name}~1stop/post`
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- openapi
- 領域
- api
調査の方向性
まず、OpenAPI の記述内で #/paths/1orgs1{org}1members1{username}1codespaces1{codespace_name}~1stop の POST 操作と、参照されている #/components/examples/codespace/value の example を見つけます。example の template フィールドとその schema を比較し、続いて fpt と ghec の description を検証します。schema と example の同期が取れていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Schema Inaccuracy
This is the json ref for the example
#/components/examples/codespace/value
The field template doesn't exist in the schema, but exists in the example.
Here's a snippet
139: "retention_period_minutes" : 43200,
140: "start_url" : "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/start",
141: "state" : "Available",
142: "stop_url" : "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/stop",
> 143: "template" : null,
144: "updated_at" : "2021-10-14T00:53:32-06:00",
145: "url" : "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q",
146: "web_url" : "https://monalisa-octocat-hello-world-g4wpq6h95q.github.dev"
147: }
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
-
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
-
bug No Code Attached Yet
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
joomla/joomla-cms#48556 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
john-kurkowski/tldextract#382 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
CircuitVerse/CircuitVerse#7967 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
CopilotKit/aimock#491 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
deepset-ai/haystack#13092 ·
メンテナーはふだん 1 日以内に返信