Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[BUG] Tags are getting added to APIM even though I have not defined them in artifacts>tags

オープン
#684 コメント 2 件 リアクション 0 件 担当者 1 名 GitHub で見る

@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 はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Azure/apiops のほかの issue

Azure/apiops の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。