[docs] Fix Swagger URL for the "edit status" operation (#3932)

This commit is contained in:
Leonid Shevtsov
2025-03-30 11:21:08 +03:00
committed by GitHub
parent 13e7ac3e6a
commit 85fb63f46f
2 changed files with 82 additions and 71 deletions

View File

@@ -30,7 +30,7 @@ import (
"github.com/superseriousbusiness/gotosocial/internal/util"
)
// StatusEditPUTHandler swagger:operation PUT /api/v1/statuses statusEdit
// StatusEditPUTHandler swagger:operation PUT /api/v1/statuses/{id} statusEdit
//
// Edit an existing status using the given form field parameters.
//
@@ -46,6 +46,12 @@ import (
//
// parameters:
// -
// name: id
// type: string
// description: Target status ID.
// in: path
// required: true
// -
// name: status
// x-go-name: Status
// description: |-