summaryrefslogtreecommitdiff
path: root/docs/swagger.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2022-09-28 18:30:40 +0100
committerLibravatar GitHub <noreply@github.com>2022-09-28 18:30:40 +0100
commita156188b3eb5cb3da44aa1b7452265f5fa38a607 (patch)
tree7097fa48d56fbabc7c2c8750b1f3bc9321d71c0f /docs/swagger.go
parent[bugfix] Fix emphasis being added to emoji shortcodes with markdown parsing (... (diff)
downloadgotosocial-a156188b3eb5cb3da44aa1b7452265f5fa38a607.tar.xz
[chore] update dependencies, bump to Go 1.19.1 (#826)
* update dependencies, bump Go version to 1.19 * bump test image Go version * update golangci-lint * update gotosocial-drone-build * sign * linting, go fmt * update swagger docs * update swagger docs * whitespace * update contributing.md * fuckin whoopsie doopsie * linterino, linteroni * fix followrequest test not starting processor * fix other api/client tests not starting processor * fix remaining tests where processor not started * bump go-runners version * don't check last-webfingered-at, processor may have updated this * update swagger command * update bun to latest version * fix embed to work the same as before with new bun Signed-off-by: kim <grufwub@gmail.com> Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
Diffstat (limited to 'docs/swagger.go')
-rw-r--r--docs/swagger.go81
1 files changed, 41 insertions, 40 deletions
diff --git a/docs/swagger.go b/docs/swagger.go
index b4d497b71..aa6afab4d 100644
--- a/docs/swagger.go
+++ b/docs/swagger.go
@@ -16,48 +16,49 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-// Package docs GoToSocial
-//
// GoToSocial Swagger documentation.
//
-// Schemes: https, http
-// BasePath: /
-// Version: REPLACE_ME
-// Host: example.org
-// License: AGPL3 https://www.gnu.org/licenses/agpl-3.0.en.html
-// Contact: GoToSocial Authors <admin@gotosocial.org>
-// SecurityDefinitions:
-// OAuth2 Bearer:
-// type: oauth2
-// flow: accessCode
-// authorizationUrl: https://example.org/oauth/authorize
-// tokenUrl: https://example.org/oauth/token
-// scopes:
-// read: grants read access to everything
-// read:accounts: grants read access to accounts
-// read:blocks: grant read access to blocks
-// read:custom_emojis: grant read access to custom_emojis
-// read:media: grant read access to media
-// read:search: grant read access to searches
-// read:statuses: grants read access to statuses
-// read:streaming: grants read access to streaming api
-// read:user: grants read access to user-level info
-// read:notifications: grants read access to notifications
-// write: grants write access to everything
-// write:accounts: grants write access to accounts
-// write:blocks: grants write access to blocks
-// write:follows: grants write access to follows
-// write:media: grants write access to media
-// write:statuses: grants write access to statuses
-// write:user: grants write access to user-level info
-// admin: grants admin access to everything
-// admin:accounts: grants admin access to accounts
-// OAuth2 Application:
-// type: oauth2
-// flow: application
-// tokenUrl: https://example.org/oauth/token
-// scopes:
-// write:accounts: grants write access to accounts
+// Schemes: https, http
+// BasePath: /
+// Version: REPLACE_ME
+// Host: example.org
+// License: AGPL3 https://www.gnu.org/licenses/agpl-3.0.en.html
+// Contact: GoToSocial Authors <admin@gotosocial.org>
+//
+// SecurityDefinitions:
+// OAuth2 Bearer:
+// type: oauth2
+// flow: accessCode
+// authorizationUrl: https://example.org/oauth/authorize
+// tokenUrl: https://example.org/oauth/token
+// scopes:
+// read: grants read access to everything
+// read:accounts: grants read access to accounts
+// read:blocks: grant read access to blocks
+// read:custom_emojis: grant read access to custom_emojis
+// read:favourites: grant read access to favourites
+// read:follows: grant read access to follows
+// read:media: grant read access to media
+// read:search: grant read access to searches
+// read:statuses: grants read access to statuses
+// read:streaming: grants read access to streaming api
+// read:user: grants read access to user-level info
+// read:notifications: grants read access to notifications
+// write: grants write access to everything
+// write:accounts: grants write access to accounts
+// write:blocks: grants write access to blocks
+// write:follows: grants write access to follows
+// write:media: grants write access to media
+// write:statuses: grants write access to statuses
+// write:user: grants write access to user-level info
+// admin: grants admin access to everything
+// admin:accounts: grants admin access to accounts
+// OAuth2 Application:
+// type: oauth2
+// flow: application
+// tokenUrl: https://example.org/oauth/token
+// scopes:
+// write:accounts: grants write access to accounts
//
// swagger:meta
package docs