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

[Schema Inaccuracy] Example and schema mismatch for `#/paths/~1installation~1repositories/get`

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

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
50/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
openapi
領域
api

調査の方向性

まず、#/paths/1installation1repositories/get のスキーマと #/components/examples/repository-paginated-2/value の例を比較します。それぞれで template_repository がどのように表現されているかを確認し、一致していない方のスキーマまたは例を更新して整合させ、エンドポイントの説明が引き続き有効であることを確認します。

索引モデルが issue の本文から書いたものです。

説明

content documentation

Schema Inaccuracy

This is the json ref for the example

#/components/examples/repository-paginated-2/value

The field template_repository doesn't exist in the schema, but exists in the example.

Here's a snippet

   91:     "pushed_at" : "2011-01-26T19:06:43Z",
   92:     "created_at" : "2011-01-26T19:01:12Z",
   93:     "updated_at" : "2011-01-26T19:14:43Z",
   94:     "allow_rebase_merge" : true,
>  95:     "template_repository" : null,
   96:     "temp_clone_token" : "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
   97:     "allow_squash_merge" : true,
   98:     "allow_auto_merge" : false,
   99:     "delete_branch_on_merge" : true,

Expected

The schema and example are in sync

Reproduction Steps

I could reproduce this in

  • fpt
  • ghec
  • ghes-3.14
  • ghes-3.15
  • ghes-3.16
  • ghes-3.17
主要言語
言語のデータがありません
スター
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 を短くまとめたダイジェスト。