[BUG] API suffix not allowed to duplicate for version sets
- Lenguaje dominante
- C#
- Estrellas
- 448
- Forks
- 247
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
### Release version
v6.0.2-alpha.1.0.2
### Describe the bug
APIs have same API suffix of versions, it throws an error
##[error]System.Net.Http.HttpRequestException: HTTP request to URI https://management.azure.com/subscriptions/*********resourceGroups/Resource-group/providers/Microsoft.ApiManagement/service/APIM/apis/APIr-v2;rev=2?api-version=2023-09-01-preview failed with status code 400. Content is '{"error":{"code":"ValidationError","message":"One or more fields contain incorrect values:","details":[{"code":"ValidationError","target":"path","message":"Cannot create API 'API-v2' with the same Path 'glb/supplier' as API 'API-v03' unless it's a part of the same version set"}]}}'.
### Expected behavior
I can manually create new version of API in the same version set with same API suffix which is not possible via APIops
### Actual behavior
APIops throws an error, not allowing to create API version sets with same API suffix
### Reproduction Steps
1. Create an API in API management
2. create version 1 and 2 with same API suffix
3. Migrate API via APIops
Guía de contribución
Línea de trabajo
No se nombra ningún archivo fuente ni ninguna prueba. Empieza reproduciendo la migración con dos versiones de API en el mismo conjunto de versiones y con el mismo sufijo de API; después, sigue la ruta de despliegue de APIops que crea la API. Se considera terminado cuando la migración se completa correctamente sin el error de validación de ruta duplicada y el comportamiento existente sigue estando cubierto por pruebas.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- azure, csharp
- Área
- api, cloud
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100