From 5abf740ae9bb80c3f42edf08b09ab6cafdc9f8c3 Mon Sep 17 00:00:00 2001 From: jolheiser Date: Tue, 17 Jan 2023 11:27:45 -0600 Subject: [PATCH 1/2] docs: add swagger.json file location to FAQ Signed-off-by: jolheiser --- docs/content/doc/help/faq.en-us.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/content/doc/help/faq.en-us.md b/docs/content/doc/help/faq.en-us.md index a92186334f382..37126be060e59 100644 --- a/docs/content/doc/help/faq.en-us.md +++ b/docs/content/doc/help/faq.en-us.md @@ -136,7 +136,8 @@ All Gitea instances have the built-in API and there is no way to disable it comp You can, however, disable showing its documentation by setting `ENABLE_SWAGGER` to `false` in the `api` section of your `app.ini`. For more information, refer to Gitea's [API docs]({{< relref "doc/developers/api-usage.en-us.md" >}}). -You can see the latest API (for example) on . +You can see the latest API (for example) on . +You can also see an example of the `swagger.json` file at . ## Adjusting your server for public/private use From deef6120d9c36cfb100ca91d0af51b11f78dbc4b Mon Sep 17 00:00:00 2001 From: John Olheiser Date: Tue, 17 Jan 2023 11:55:50 -0600 Subject: [PATCH 2/2] review: fix br Co-authored-by: silverwind --- docs/content/doc/help/faq.en-us.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/content/doc/help/faq.en-us.md b/docs/content/doc/help/faq.en-us.md index 37126be060e59..2fcf0be156129 100644 --- a/docs/content/doc/help/faq.en-us.md +++ b/docs/content/doc/help/faq.en-us.md @@ -136,7 +136,8 @@ All Gitea instances have the built-in API and there is no way to disable it comp You can, however, disable showing its documentation by setting `ENABLE_SWAGGER` to `false` in the `api` section of your `app.ini`. For more information, refer to Gitea's [API docs]({{< relref "doc/developers/api-usage.en-us.md" >}}). -You can see the latest API (for example) on . +You can see the latest API (for example) on . + You can also see an example of the `swagger.json` file at . ## Adjusting your server for public/private use