[Schema Inaccuracy] schema `content-directory` should have enum limited to `dir` value in gh-3.18

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

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

評価

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

調査の方向性

リンク先の gh.yaml URL にある gh-3.18 スキーマを読み、content-directory の定義を見つけてください。その type enum を Expected ブロックと比較し、スキーマに意図した値だけが含まれていることを確認してください。gh-3.18 の説明が要求された enum 制限を反映していれば完了です。

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

説明

feature

Schema Inaccuracy

In the latest version of gh.yaml (3.18) the type content-directory has an incorrect type property.

    content-directory:
      title: Content Directory
      description: A list of directory items
      type: array
      items:
        type: object
        properties:
          type:
            type: string
            enum:
            - dir
            - file
            - submodule
            - symlink
...

Expected

    content-directory:
      title: Content Directory
      description: A list of directory items
      type: array
      items:
        type: object
        properties:
          type:
            type: string
            enum:
            - dir
...
主要言語
言語のデータがありません
スター
1.6k
フォーク
342
平均マージ
3時間 33分
マージ済み PR(30日)
51

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  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 を短くまとめたダイジェスト。