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

Running publisher with an API that has a VersionSet fails on an 'empty' APIM instance

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
azure, csharp
領域
api, cloud

調査の方向性

まず、空の Azure API Management インスタンスに対して publisher の実行を再現し、次に apiinformation.json のデータを使って versionSet の検索を追跡します。バージョン付き API を作成する前に、publisher が ApiVersionSet の欠如をどこで処理しているかを確認します。複数のバージョンを持つ API の発行が 404 エラーなしで成功すれば完了です。

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

説明

Release version

v6.0.1.1

Describe the bug

When I run the publisher to upload all of my artifacts (one of the apis contains a versionSet into a 'clean' apim instance I get the following error stating that the ApiVersionSet not found.

System.Net.Http.HttpRequestException: HTTP request to URI <service_url> failed with status code 404. Content is '{"error":{"code":"ResourceNotFound","message":"ApiVersionSet not found.","details":null}}'
Expected behavior

Publisher would create the API with multiple versions correctly into APIM.

Actual behavior

Error occurs trying to find the versionSet that is stored in the apiinformation.json file. Since it's an empty APIM instance it won't find the versionSet.

Reproduction Steps
  • Create an api that has multiple versions
  • Extract that api into your git repo
  • Run the publisher on a new APIM instance
主要言語
C#
スター
448
フォーク
247
PR マージ指標
30日以内にマージされた PR はありません

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

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

はじめの一歩

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

Azure/apiops のほかの issue

Azure/apiops の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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