API Center: Inconsistent Title Length Validation Between APIM Sync and APIOps CLI
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- Ein halber Tag
- Anfängerfreundlichkeit
- 25/100
- Issue-Typ
- Bug
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- azure, typescript
- Bereich
- api
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 44
- Forks
- 14
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus Azure/apiops-cli
-
type:bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 71/100
Azure/apiops-cli#350 ·
-
stale
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 84/100
Azure/apiops-cli#333 · 1 Kommentar ·
-
extract fails when a policy uses set-backend-service backend-id="{{namedValue}}"Evtl. vergeben @dannyward630 hat das vor 37 Tagen übernommen. Offenstale type:bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Azure/apiops-cli#331 · 1 Kommentar ·
-
Docs example says products are auto-included transitively, but they aren't extracted with `products: []`Evtl. vergeben @cdayne hat das vor 27 Tagen übernommen. Offenstale type:question
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Azure/apiops-cli#277 · 1 Kommentar ·
-
Extractor mistakes set-body json response as transitive dependency which causes pipeline failureOffentype:bug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 56/100
Azure/apiops-cli#349 ·
Alle Issues in Azure/apiops-cli
Ähnliche Issues
-
area:api bug good first issue priority:high
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Doezer/Questarr#1486 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:import difficulty:good-first good first issue help wanted priority:P1 roadmap size:S type:test
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
Sergey-Bar/Penny#245 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
mihazs/lazysh#3377 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Approve the Cloudflare agent plugin for harness sessionsEvtl. vergeben @joshtsch hat das heute übernommen. Offenenhancement ready-for-agent
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag