From d9e8d844e18ba6daaf699aeb01b6874f116ad17d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicole=20Miko=C5=82ajczyk?= Date: Sat, 31 May 2025 13:42:58 +0200 Subject: [PATCH] [docs] fix typo in swagger description for ListsGETHandler (#4217) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nicole Mikołajczyk # Description This pull request fixes a typo. ## Checklist - [x] I/we have read the [GoToSocial contribution guidelines](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md). - [ ] I/we have discussed the proposed changes already, either in an issue on the repository, or in the Matrix chat. - [x] I/we have not leveraged AI to create the proposed changes. - [ ] I/we have performed a self-review of added code. - [ ] I/we have written code that is legible and maintainable by others. - [ ] I/we have commented the added code, particularly in hard-to-understand areas. - [ ] I/we have made any necessary changes to documentation. - [ ] I/we have added tests that cover new code. - [ ] I/we have run tests and they pass locally with the changes. - [ ] I/we have run `go fmt ./...` and `golangci-lint run`. Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4217 Co-authored-by: Nicole Mikołajczyk Co-committed-by: Nicole Mikołajczyk --- docs/api/swagger.yaml | 2 +- internal/api/client/lists/listsget.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/swagger.yaml b/docs/api/swagger.yaml index 97741b24e..3ed915e05 100644 --- a/docs/api/swagger.yaml +++ b/docs/api/swagger.yaml @@ -9449,7 +9449,7 @@ paths: security: - OAuth2 Bearer: - read:lists - summary: Get all lists for owned by authorized user. + summary: Get all lists owned by authorized user. tags: - lists post: diff --git a/internal/api/client/lists/listsget.go b/internal/api/client/lists/listsget.go index 1cd4d33e0..8d912241b 100644 --- a/internal/api/client/lists/listsget.go +++ b/internal/api/client/lists/listsget.go @@ -27,7 +27,7 @@ import ( // ListsGETHandler swagger:operation GET /api/v1/lists lists // -// Get all lists for owned by authorized user. +// Get all lists owned by authorized user. // // --- // tags: