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

[BUG] API suffix not allowed to duplicate for version sets

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

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

評価

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

調査の方向性

ソースファイルもテストも指定されていません。まず、同じバージョンセットと同じ API サフィックスを持つ 2 つの API バージョンでマイグレーションを再現し、次に API を作成する APIops のデプロイパスを追跡してください。マイグレーションが重複パスの検証エラーなしで成功し、既存の動作がテストで引き続きカバーされていれば完了です。

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

説明

Release version

v6.0.2-alpha.1.0.2

Describe the bug

APIs have same API suffix of versions, it throws an error
##[error]System.Net.Http.HttpRequestException: HTTP request to URI https://management.azure.com/subscriptions/*********resourceGroups/Resource-group/providers/Microsoft.ApiManagement/service/APIM/apis/APIr-v2;rev=2?api-version=2023-09-01-preview failed with status code 400. Content is '{"error":{"code":"ValidationError","message":"One or more fields contain incorrect values:","details":[{"code":"ValidationError","target":"path","message":"Cannot create API 'API-v2' with the same Path 'glb/supplier' as API 'API-v03' unless it's a part of the same version set"}]}}'.

Expected behavior

I can manually create new version of API in the same version set with same API suffix which is not possible via APIops

Actual behavior

APIops throws an error, not allowing to create API version sets with same API suffix

Reproduction Steps
  1. Create an API in API management
  2. create version 1 and 2 with same API suffix
  3. Migrate API via APIops
主要言語
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 を短くまとめたダイジェスト。