Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Schema Inaccuracy] Example and schema mismatch for `#/paths/~1orgs~1{org}~1members~1{username}~1codespaces~1{codespace_name}~1stop/post`

オープン
#5,594 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 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 の本文から書いたものです。

説明

feature

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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github/rest-api-description のほかの issue

github/rest-api-description の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。