docs: add swagger.json file location to FAQ (#22489)

This just adds a mention on how to get the `swagger.json` for an
instance.

Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
John Olheiser 2023-01-17 14:18:42 -06:00 committed by GitHub
parent 0a6b57bcaf
commit 60c4725cc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -138,6 +138,8 @@ For more information, refer to Gitea's [API docs]({{< relref "doc/developers/api
You can see the latest API (for example) on <https://try.gitea.io/api/swagger>.
You can also see an example of the `swagger.json` file at <https://try.gitea.io/swagger.v1.json>.
## Adjusting your server for public/private use
### Preventing spammers