summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-11-04 16:48:13 +0100
committerLibravatar GitHub <noreply@github.com>2023-11-04 16:48:13 +0100
commit314dda196ee247915cf989f5b7e0f413726336c5 (patch)
tree602c2d979d3ac9b6a8c42c6fe61f0b5619750a6d
parentRemove account_suspended_at_idx to resolve slow query issues (#2310) (diff)
downloadgotosocial-314dda196ee247915cf989f5b7e0f413726336c5.tar.xz
[docs/bugfix] fix link to swagger yaml (#2333)
-rw-r--r--docs/api/swagger.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api/swagger.md b/docs/api/swagger.md
index 2f6727215..c31d6185a 100644
--- a/docs/api/swagger.md
+++ b/docs/api/swagger.md
@@ -4,6 +4,6 @@ GoToSocial uses [go-swagger](https://github.com/go-swagger/go-swagger) to genera
The resulting API documentation is rendered below, for quick reference.
-If you'd like to do more with the spec, you can also view the [swagger.yaml](/api/swagger/swagger.yaml) directly, and then paste it into something like the [Swagger Editor](https://editor.swagger.io/) in order to autogenerate GoToSocial API clients in different languages, convert the doc to JSON or OpenAPI v3 specification, etc. See [here](https://swagger.io/tools/open-source/getting-started/) for more.
+If you'd like to do more with the spec, you can also view the [swagger.yaml](./swagger.yaml) directly, and then paste it into something like the [Swagger Editor](https://editor.swagger.io/) in order to autogenerate GoToSocial API clients in different languages, convert the doc to JSON or OpenAPI v3 specification, etc. See [here](https://swagger.io/tools/open-source/getting-started/) for more.
<swagger-ui src="swagger.yaml"/>