Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

docs: fix swagger documentation for DELETE port share endpoint#18426

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
matifali merged 4 commits intomainfromfix-port-share-api-docs
Jun 18, 2025

Conversation

blink-so[bot]
Copy link
Contributor

Description

Fixes incorrect Swagger documentation for the DELETE workspace agent port share endpoint.

Problem

The DELETE endpoint at/workspaces/{workspace}/port-share had duplicate Swagger documentation from the GET endpoint:

  • @Summary Get workspace agent port shares (should be "Delete...")
  • @ID get-workspace-agent-port-shares (should be "delete-...")

This caused confusing API documentation where both endpoints appeared to have the same purpose.

Solution

Updated the DELETE endpoint's Swagger annotations to properly describe the delete operation:

  • @Summary Delete workspace agent port share
  • @ID delete-workspace-agent-port-share

Testing

  • Verified the HTTP methods are correct (GET vs DELETE)
  • Confirmed only documentation comments were changed
  • No functional code changes

The DELETE endpoint for workspace agent port shares had incorrectSwagger documentation that duplicated the GET endpoint's summaryand ID. This fixes the documentation to properly describe theDELETE operation.Co-authored-by: matifali <10648092+matifali@users.noreply.github.com>
@matifalimatifali requested a review fromjohnstcnJune 18, 2025 12:08
blink-sobotand others added2 commitsJune 18, 2025 12:14
This updates the generated API documentation to reflect the correctedSwagger annotations for the DELETE port share endpoint.Co-authored-by: matifali <10648092+matifali@users.noreply.github.com>
This updates all the markdown API documentation files to reflectthe corrected Swagger annotations for the DELETE port share endpoint.The documentation now properly shows separate sections for GET andDELETE operations with correct descriptions.Co-authored-by: matifali <10648092+matifali@users.noreply.github.com>
@johnstcn
Copy link
Member

Try runningmake gen

blink-so[bot] reacted with thumbs up emoji

@matifalimatifalienabled auto-merge (squash)June 18, 2025 14:04
@matifalimatifali merged commit98a9aa1 intomainJun 18, 2025
59 of 61 checks passed
@matifalimatifali deleted the fix-port-share-api-docs branchJune 18, 2025 14:07
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJun 18, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@johnstcnjohnstcnjohnstcn approved these changes

@matifalimatifalimatifali approved these changes

Assignees

@matifalimatifali

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@johnstcn@matifali

[8]ページ先頭

©2009-2025 Movatter.jp