[Schema Inaccuracy] Example and schema mismatch for `#/paths/~1manage~1v1~1maintenance/get`
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- openapi
- 領域
- api
調査の方向性
GET /manage/v1/maintenance の OpenAPI スキーマと、参照されているコンポーネント例 #/components/examples/ghes-get-maintenance/value を特定します。影響を受ける GHES の説明全体で、scheduled_time スキーマと例を比較します。スキーマと例が一致する日付形式を使用していれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Schema Inaccuracy
This is the json ref for the example
#/components/examples/ghes-get-maintenance/value
Schema and example mismatch. The schema says scheduled_time is a string with format date. But the example has what looks like a date-time.
Here's a snippet
1: [ {
2: "hostname" : "ghe-local-primary",
3: "uuid" : "1b6cf518-f97c-11ed-8544-061d81f7eedb",
4: "status" : "scheduled",
> 5: "scheduled_time" : "2006-01-02T15:04:05+00:00",
6: "connection_services" : [ {
7: "name" : "git operations",
8: "number" : 15
9: }, {
Expected
The schema and example are in sync
Reproduction Steps
I could reproduce this in
- ghes-3.14
- ghes-3.15
- ghes-3.16
- ghes-3.17
- ghes-3.18
- 主要言語
- 言語のデータがありません
- スター
- 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
speaches-ai/speaches#678 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
[BUG] ECR GetAuthorizationToken returns a proxyEndpoint for the default region, not the request's オープンbug ecr
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
conda-forge/spacy-feedstock#177 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100