[Microsoft.ApiManagement/AIGateway] Align AIGateway TypeSpec/OpenAPI with live 2025-09-01-preview wire contract (displayName, apiFormat, publicNetworkAccess, SKU)

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
azure, openapi, typescript
領域
api, backend

調査の方向性

Compare the TypeSpec files and emitted OpenAPI under specification/apimanagement/resource-manager/Microsoft.ApiManagement/AIGateway/ with the live 2025-09-01-preview wire contract described in the issue. Start by reviewing AIGatewayModelProvider.tsp, AIGatewayModel.tsp, and AIGatewayToolServer.tsp, then inspect the gateway properties and alias PUT definition. Done means the version, properties, SKU values, and alias preconditions match the reported live contract.

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

説明

Summary

The published Microsoft.ApiManagement/AIGateway TypeSpec and emitted OpenAPI (2026-09-01-preview in https://github.com/Azure/azure-rest-api-specs/pull/45799 and 2026-11-01 in https://github.com/Azure/azure-rest-api-specs/pull/47156) have several schema and version divergences from the live deployed ARM resource provider (Microsoft.ApiManagement/aigateways@2025-09-01-preview).

Observed Deltas Between azure-rest-api-specs and Live Microsoft.ApiManagement/aigateways Wire
  1. API Version Availability (2025-09-01-preview vs 2026-09-01-preview / 2026-11-01)

    • Live ARM currently serves the full 42+ operation surface under api-version=2025-09-01-preview, which is not present in specification/apimanagement/resource-manager/Microsoft.ApiManagement/AIGateway/.
    • Meanwhile, 2026-09-01-preview in azure-rest-api-specs only contains 7 root/provider operations, and 2026-11-01 is not yet enabled on the live RP.
  2. Display Name Wire Property (properties.displayName vs properties.name)

    • In 2026-11-01 (AIGatewayModelProvider.tsp, AIGatewayModel.tsp, AIGatewayToolServer.tsp), the display name property is serialized on the wire as JSON properties.name with "x-ms-client-name": "displayName".
    • On live 2025-09-01-preview, the RP requires and returns properties.displayName for modelProviders, models, and toolServers.
  3. Model apiFormat Property Omitted

    • Live models resources accept properties.apiFormat (OpenAIChatCompletions, ResponsesApi, AnthropicMessages), which is omitted from AiGatewayModelProperties / AiGatewayModelUpdateProperties in 2026-11-01.
  4. Root Gateway publicNetworkAccess and targetProvisioningState Omitted

    • AiGatewayProperties in 2026-11-01 only models provisioningState, frontend, and backend, omitting publicNetworkAccess and targetProvisioningState returned/accepted on the wire.
  5. Gateway sku.name Values

    • Live Microsoft.ApiManagement/aigateways accepts Consumption and Premium SKUs (and rejects legacy AIGateway), whereas the spec references generic common-types Sku without documenting the valid SKU enum (Consumption, Premium).
  6. Alias PUT Precondition (If-None-Match: *) and selectionOrder

    • Portal and CLI send If-None-Match: * for create-only alias PUT and omit selectionOrder, whereas 2026-11-01 models If-Match on PUT and includes selectionOrder.
主要言語
Python
スター
18
フォーク
9
平均マージ
1日 16時間
マージ済み PR(30日)
23

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

Azure/aigateway のほかの issue

Azure/aigateway の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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