[BUG] Tags are getting added to APIM even though I have not defined them in artifacts>tags
@guythetechie ya está trabajando en esto.
Desde el 17/10/2024.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Release version
v6.0.1
Describe the bug
Hello Team,
I noticed that in my APIM instance tags were getting added even though I have no tags defined in the repo.
On further investigation, I found that when the specifications.yaml file has tags as part of the open api definition properties like below example:
openapi: 3.0.1
info:
title: Test API Books
description: Books API
version: v1
paths:
/list-all-comedy-books:
get:
tags:
- comedyBooks
responses:
'200':
description: Success
content:
application/json:
--
then publisher is creating this Tag in APIM, in this example, i would see a tag called comedyBooks added to APIM.
Expected behavior
Tag is not added to apim unless explicitly defined under artifacts>tags folder
Actual behavior
Tag name is getting pulled from specifications file and being added to the API Tags in APIM.
Reproduction Steps
Create an open api spec with a tag value like below and then publish this to APIM.
openapi: 3.0.1
info:
title: Test API Books
description: Books API
version: v1
paths:
/list-all-comedy-books:
get:
tags:
- comedyBooks
responses:
'200':
description: Success
content:
application/json:
- Lenguaje dominante
- C#
- Estrellas
- 448
- Forks
- 247
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Azure/apiops
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 70/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Todos los issues de Azure/apiops
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
nightscout/nocturne#1425 ·
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
Documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
cake-build/cake#5024 ·
-
Gå gjennom ESLint-suppressions AbiertoFrontend status/draft TechnicalDebt
Dificultad 2/5 1-2 días Aptitud para principiantes 75/100
Altinn/altinn-auth#4143 ·