[BUG] Tags are getting added to APIM even though I have not defined them in artifacts>tags
@guythetechie がすでに取り組んでいます。
2024年10月17日 から。
評価
この issue はまだ評価されていません。
説明
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:
- 主要言語
- C#
- スター
- 448
- フォーク
- 247
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Azure/apiops のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 70/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
nightscout/nocturne#1425 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
Documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
cake-build/cake#5024 ·
-
Frontend status/draft TechnicalDebt
難易度 2/5 1〜2日 初心者へのやさしさ 75/100
Altinn/altinn-auth#4143 ·