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

Error: Invalid reference token: /Tables(\'{tableName}\')

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
openapi
領域
cli, tooling

調査の方向性

Cosmos DB Tables の変換と、リンクされた GitHub Actions の実行を使用して警告を再現します。まず @azure/oad/dist/lib/validators/openApiDiff.js から始め、次に eng/tools/openapi-diff-runner/dist/src/run-oad.js と detect-breaking-change.js からの呼び出しを追跡します。無効な参照トークンが無害なのか、検証漏れを示しているのかを判断し、同じバージョンの breaking-change チェックに照らして選択した動作を検証します。

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

説明

In this PR, converting tables to TSP:

openapi-diff prints a lot of messages like this. They are just logged as warnings, so maybe they're harmless, but they might also be a symptom of a larger problem (like missing validation).

  ENTER definition runOad oldSpec: /home/runner/work/azure-rest-api-specs/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/cosmos-db/data-plane/Tables/stable/2019-02-02/table.json, newSpec: specification/cosmos-db/data-plane/Tables/stable/2019-02-02/table.json, oldTag: undefined, newTag: undefined
  oad.CompareTags() when !(oldTag && newTag)
  Error: Invalid reference token: /Tables(\'{tableName}\')
      at api.get (/home/runner/work/azure-rest-api-specs/azure-rest-api-specs/node_modules/json-pointer/index.js:54:19)
      at updateChangeProperties (/home/runner/work/azure-rest-api-specs/azure-rest-api-specs/node_modules/@azure/oad/dist/lib/validators/openApiDiff.js:30:58)
      at /home/runner/work/azure-rest-api-specs/azure-rest-api-specs/node_modules/@azure/oad/dist/lib/validators/openApiDiff.js:247:105
      at Array.map (<anonymous>)
      at OpenApiDiff.processViaOpenApiDiff (/home/runner/work/azure-rest-api-specs/azure-rest-api-specs/node_modules/@azure/oad/dist/lib/validators/openApiDiff.js:247:40)
      at async runOad (file:///home/runner/work/azure-rest-api-specs/azure-rest-api-specs/eng/tools/openapi-diff-runner/dist/src/run-oad.js:48:28)
      at async doBreakingChangeDetection (file:///home/runner/work/azure-rest-api-specs/azure-rest-api-specs/eng/tools/openapi-diff-runner/dist/src/detect-breaking-change.js:188:29)
      at async checkBreakingChangeOnSameVersion (file:///home/runner/work/azure-rest-api-specs/azure-rest-api-specs/eng/tools/openapi-diff-runner/dist/src/detect-breaking-change.js:71:48)
      at async validateBreakingChange (file:///home/runner/work/azure-rest-api-specs/azure-rest-api-specs/eng/tools/openapi-diff-runner/dist/src/commands.js:107:17)
      at async main (file:///home/runner/work/azure-rest-api-specs/azure-rest-api-specs/eng/tools/openapi-diff-runner/dist/src/index.js:152:18)

https://github.com/Azure/azure-rest-api-specs/actions/runs/21380285709/job/61545548491?pr=39915#step:5:92

主要言語
C#
スター
290
フォーク
50
平均マージ
2日 21時間
マージ済み PR(30日)
10

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

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

はじめの一歩

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

Azure/openapi-diff のほかの issue

Azure/openapi-diff の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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