API Center: Inconsistent Title Length Validation Between APIM Sync and APIOps CLI
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 半天
- 新手友好度
- 25/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 活躍
- 技術堆疊
- azure, typescript
- 領域
- api
研究方向
The issue does not name any file or function, so start by reproducing the failure: extract an API with a title over 50 characters from API Center with the APIOps CLI, then publish it back and capture the validation error. Then check whether the 50-character limit comes from the CLI or from the Azure API Center service, since the issue asks whether the limit is intentional. Done means a maintainer confirms which side should change, and any fix or documented limit is agreed on in the thread first.
由索引模型根據 Issue 內容生成。
描述
Question
I noticed an inconsistency between Azure API Center's native APIM synchronization and APIOps CLI publishing.
When APIs are synchronized from Azure API Management to Azure API Center using the native integration, APIs with titles exceeding 50 characters are successfully registered.
However, when extracting the same APIs from API Center using APIOps CLI and attempting to publish them back, publishing fails with a validation error indicating that the title cannot exceed 50 characters.
I have a few questions:
-
Why does native APIM-to-API Center synchronization allow API titles exceeding 50 characters while APIOps CLI publishing does not?
-
Is the 50-character restriction an intentional API Center limitation, or is this an inconsistency between the two integration methods?
-
Is there a plan to align this behavior so that APIs synchronized through the native integration can be extracted and republished without modification?
This creates a challenge when managing API Center resources through GitOps, as APIs successfully synchronized from APIM cannot be republished without modifying their titles.
Context
Steps to reproduce
-
Create an API in Azure API Management with a display name exceeding 50 characters.
-
Synchronize the API to Azure API Center using native APIM integration.
-
Confirm that the API is successfully registered in API Center.
-
Extract the API Center configuration using APIOps CLI.
-
Attempt to publish the extracted configuration back to API Center.
-
Observe the title length validation error.
- 主要語言
- TypeScript
- 星號
- 44
- 分支
- 14
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
Azure/apiops-cli 的其他 Issue
-
type:bug
難度 2/5 1-3 小時 新手友好度 71/100
Azure/apiops-cli#350 ·
-
stale
難度 1/5 1-3 小時 新手友好度 84/100
Azure/apiops-cli#333 · 1 則留言 ·
-
extract fails when a policy uses set-backend-service backend-id="{{namedValue}}"可能已有人在做 @dannyward630 於 37 天前認領。 未關閉stale type:bug
難度 2/5 1-3 小時 新手友好度 78/100
Azure/apiops-cli#331 · 1 則留言 ·
-
Docs example says products are auto-included transitively, but they aren't extracted with `products: []`可能已有人在做 @cdayne 於 27 天前認領。 未關閉stale type:question
難度 2/5 1-3 小時 新手友好度 76/100
Azure/apiops-cli#277 · 1 則留言 ·
-
Extractor mistakes set-body json response as transitive dependency which causes pipeline failure未關閉type:bug
難度 3/5 1-2 天 新手友好度 56/100
Azure/apiops-cli#349 ·
相似的 Issue
-
area:api bug good first issue priority:high
難度 2/5 1-3 小時 新手友好度 78/100
Doezer/Questarr#1486 · 1 則留言 ·
維護者通常 1 天內回覆
-
area:import difficulty:good-first good first issue help wanted priority:P1 roadmap size:S type:test
難度 2/5 1-3 小時 新手友好度 88/100
Sergey-Bar/Penny#245 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
Approve the Cloudflare agent plugin for harness sessions可能已有人在做 @joshtsch 今天認領。 未關閉enhancement ready-for-agent
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆