summaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api')
-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"/>