API Center: Inconsistent Title Length Validation Between APIM Sync and APIOps CLI

Abierto
#326 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
Medio día
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
azure, typescript
Área
api

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

stale type:question
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.

Lenguaje dominante
TypeScript
Estrellas
44
Forks
14
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Azure/apiops-cli

Todos los issues de Azure/apiops-cli

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.