diff options
| author | 2025-03-30 11:21:08 +0300 | |
|---|---|---|
| committer | 2025-03-30 10:21:08 +0200 | |
| commit | 85fb63f46f7155f02ed2630f2301c0a1e59c6c59 (patch) | |
| tree | e9f482d50b50c64f61357338c3424b29ef2127d9 /internal/api | |
| parent | bump ffmpreg to v0.6.7 (#3947) (diff) | |
| download | gotosocial-85fb63f46f7155f02ed2630f2301c0a1e59c6c59.tar.xz | |
[docs] Fix Swagger URL for the "edit status" operation (#3932)
Diffstat (limited to 'internal/api')
| -rw-r--r-- | internal/api/client/statuses/statusedit.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/internal/api/client/statuses/statusedit.go b/internal/api/client/statuses/statusedit.go index dbd2224f7..5c58c5098 100644 --- a/internal/api/client/statuses/statusedit.go +++ b/internal/api/client/statuses/statusedit.go @@ -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: |- |
