Skip to content

Conversation

@akrem-chabchoub
Copy link
Contributor

@akrem-chabchoub akrem-chabchoub commented Oct 13, 2025

Checklist

  • I have read the coding guide.
  • My change requires a documentation update, and I have done it.
  • I have added tests to cover my changes.
  • I have filled out the description and linked the related issues.

Description

This update cleans up the Swarm API documentation by removing the NewTagRequest schema and the associated requestBody from the /tags endpoint. These elements are no longer used in the current API implementation.

Changes:

  • Deleted NewTagRequest schema definition.

  • Removed requestBody section from the /tags endpoint.

Open API Spec Version Changes (if applicable)

Motivation and Context (Optional)

Related Issue (Optional)

#5191

Screenshots (if appropriate):

@akrem-chabchoub akrem-chabchoub self-assigned this Oct 13, 2025
Copilot AI review requested due to automatic review settings October 13, 2025 12:51
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Removes the NewTagRequest schema and its associated requestBody from the Swarm API OpenAPI specification. This cleanup eliminates unused schema definition and simplifies the tag creation endpoint by removing the request body requirement.

  • Removes the NewTagRequest schema definition from SwarmCommon.yaml
  • Removes the requestBody specification from the tag creation endpoint in Swarm.yaml

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
openapi/SwarmCommon.yaml Removes the NewTagRequest schema definition that contained an address property
openapi/Swarm.yaml Removes the requestBody requirement from the POST /tags endpoint

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@akrem-chabchoub akrem-chabchoub changed the title docs(tags): remove NewTagRequest schema and requestBody from Swarm AP… docs(tags): remove NewTagRequest schema and requestBody from docs Oct 13, 2025
@akrem-chabchoub akrem-chabchoub changed the title docs(tags): remove NewTagRequest schema and requestBody from docs docs(tags): remove body from POST /tags Oct 13, 2025
@gacevicljubisa gacevicljubisa linked an issue Oct 14, 2025 that may be closed by this pull request
@bcsorvasi bcsorvasi added this to the v2.7.0 milestone Oct 15, 2025
@martinconic martinconic merged commit 64ea8f6 into master Oct 20, 2025
39 of 50 checks passed
@martinconic martinconic deleted the docs/tags branch October 20, 2025 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Does POST /tags accept address in body or not?

5 participants