[PR #6734] [MERGED] [management] fix duplicate operationId in OpenAPI spec #28853

Open
opened 2026-08-05 08:07:03 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/6734
Author: @CoderSufiyan
Created: 7/12/2026
Status: Merged
Merged: 7/12/2026
Merged by: @mlsmaycon

Base: mainHead: fix/issue-5436-duplicate-operationid


📝 Commits (1)

  • abf7803 [api] fix duplicate operationId in OpenAPI spec

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 shared/management/http/api/openapi.yml (+2 -2)

📄 Description

Description

The OpenAPI spec had two endpoints using the same operationId: deleteIntegration, which prevents strict code generators from producing client SDKs.

Renamed the conflicting operationIds to be descriptive and unique.

Changes

  • DELETE /api/integrations/edr/intune -> deleteEDRIntuneIntegration
  • DELETE /api/event-streaming/{id} -> deleteEventStreamingIntegration

All other delete* operationIds verified unique with no further duplicates.

Documentation

  • Documentation is not needed for this change (spec fix, no user-facing docs impact)

Fixes #5436


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/6734 **Author:** [@CoderSufiyan](https://github.com/CoderSufiyan) **Created:** 7/12/2026 **Status:** ✅ Merged **Merged:** 7/12/2026 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `fix/issue-5436-duplicate-operationid` --- ### 📝 Commits (1) - [`abf7803`](https://github.com/netbirdio/netbird/commit/abf7803b2431a4c4b6f37e975287f1ae92892cb5) [api] fix duplicate operationId in OpenAPI spec ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `shared/management/http/api/openapi.yml` (+2 -2) </details> ### 📄 Description ## Description The OpenAPI spec had two endpoints using the same `operationId: deleteIntegration`, which prevents strict code generators from producing client SDKs. Renamed the conflicting operationIds to be descriptive and unique. ## Changes - `DELETE /api/integrations/edr/intune` -> `deleteEDRIntuneIntegration` - `DELETE /api/event-streaming/{id}` -> `deleteEventStreamingIntegration` All other `delete*` operationIds verified unique with no further duplicates. ## Documentation - [x] Documentation is **not needed** for this change (spec fix, no user-facing docs impact) Fixes #5436 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 08:07:03 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#28853