[docs/bugfix] fix link to swagger yaml (#2333)

This commit is contained in:
tobi 2023-11-04 16:48:13 +01:00 committed by GitHub
parent 145dc515a2
commit 314dda196e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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. 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"/> <swagger-ui src="swagger.yaml"/>