Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[BUG] Running publisher after revision deletion remove whole API

Open
#709 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
azure, csharp
Domain
api, devops

Research direction

Start by reproducing the publisher update with an API containing the three listed revisions, then remove only the apis/azerty-service;rev=2 folder and run the publisher. Done means the APIM instance retains azerty-service and azerty-service;rev=3 while deleting only revision 2.

Written by the indexing model from the issue text.

Description

Release version

v6.0.1.3

Describe the bug

When I commit changes to an API with multiple revisions and remove one of the revisions, the publisher removes the entire API.

Expected behavior

I expect that only the revision removed in the commit will be deleted from the APIM instance.

Actual behavior

In reality, the entire API is removed from the APIM instance.

Reproduction Steps

I have an API with three revisions:

apis/
├── azerty-service/
├── azerty-service;rev=2/
└── azerty-service;rev=3/

I delete the folder apis/azerty-service;rev=2, commit the changes, and run the publisher for these updates.

As a result, the entire API azerty-service, including all its revisions, is removed from the APIM instance.

Dominant language
C#
Stars
448
Forks
247
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/apiops

All issues in Azure/apiops

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.