API Center: Inconsistent Title Length Validation Between APIM Sync and APIOps CLI
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- Mezza giornata
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- azure, typescript
- Ambito
- api
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 44
- Fork
- 14
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Azure/apiops-cli
-
type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 71/100
Azure/apiops-cli#350 ·
-
stale
Difficoltà 1/5 1-3 ore Idoneità per principianti 84/100
Azure/apiops-cli#333 · 1 commento ·
-
extract fails when a policy uses set-backend-service backend-id="{{namedValue}}"Forse già presa @dannyward630 l’ha presa 37 giorni fa. Apertastale type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Azure/apiops-cli#331 · 1 commento ·
-
Docs example says products are auto-included transitively, but they aren't extracted with `products: []`Forse già presa @cdayne l’ha presa 27 giorni fa. Apertastale type:question
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Azure/apiops-cli#277 · 1 commento ·
-
Extractor mistakes set-body json response as transitive dependency which causes pipeline failureApertatype:bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 56/100
Azure/apiops-cli#349 ·
Tutte le issue di Azure/apiops-cli
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
tashfeenahmed/freellmapi#2217 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
remotion-dev/skills#37 ·
-
gui: a narrow window's gateway key row with a line under it wraps its faded badges onto blank linesAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
Slider: Escape during a thumb drag keeps and commits the dragged value, unlike ui-sdk's other dragsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
vercel-labs/ui#1758 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
nicobailon/pi-subagents#3425 ·
I maintainer di solito rispondono entro 1 giorno