[Schema Inaccuracy] Example and schema mismatch for `#/paths/~1orgs~1{org}~1artifacts~1{subject_digest}~1metadata~1deployment-records/get`
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- openapi
- 領域
- api, documentation
調査の方向性
例の ref #/components/examples/artifact-deployment-record-list/value から始め、issue に記載されている影響を受ける 3 つの path ref のスキーマと比較します。created フィールドと created_at フィールドを確認し、すべての影響を受ける参照が同じフィールドを記述するように例とスキーマを揃え、食い違いが解消されたことを確認します。
索引モデルが issue の本文から書いたものです。
説明
Schema Inaccuracy
This is the json ref for the example
#/components/examples/artifact-deployment-record-list/value
The field created doesn't exist in the schema, but exists in the example. This looks like a typo. There is a field called created_at.
Here's a snippet
8: "deployment_name" : "prod-deployment",
9: "tags" : {
10: "data" : "sensitive"
11: },
> 12: "created" : "2011-01-26T19:14:43Z",
13: "updated_at" : "2011-01-26T19:14:43Z",
14: "attestation_id" : 456
15: } ],
16: "total_count" : 1
Affected Schema Refs
#/paths/~1orgs~1{org}~1artifacts~1{subject_digest}~1metadata~1deployment-records/get
#/paths/~1orgs~1{org}~1artifacts~1metadata~1deployment-record/post
#/paths/~1orgs~1{org}~1artifacts~1metadata~1deployment-record~1cluster~1{cluster}/post
Expected
The schema and example are in sync
Reproduction Steps
I could reproduce this in
- fpt
- ghec
- 主要言語
- 言語のデータがありません
- スター
- 1.6k
- フォーク
- 342
- 平均マージ
- 2時間 23分
- マージ済み PR(30日)
- 57
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/rest-api-description のほかの issue
-
feature
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
github/rest-api-description#7220 ·
-
feature
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
github/rest-api-description#7201 ·
-
feature
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
github/rest-api-description#7163 ·
-
feature
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
github/rest-api-description#7162 ·
-
feature
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
github/rest-api-description#7135 ·
github/rest-api-description の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
mksglu/context-mode#1200 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
clawsweeper:needs-maintainer-review clawsweeper:needs-product-decision clawsweeper:no-new-fix-pr impact:auth-provider issue-rating: 🌊 off-meta tidepool P2
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100