diff options
author | Nathan Zook <31952+NathanZook@users.noreply.github.com> | 2021-04-19 20:29:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-19 23:29:08 -0400 |
commit | 2242f381e6f4341e21a7143c9b1e7e5da11d01f7 (patch) | |
tree | 6386065a632be02bcc7c1e6373d7dfc5d14ea6b4 /docs/content/doc/developers | |
parent | 3a49c00f0d82de5f92f4456692b7a9e3314ffef8 (diff) | |
download | gitea-2242f381e6f4341e21a7143c9b1e7e5da11d01f7.tar.gz gitea-2242f381e6f4341e21a7143c9b1e7e5da11d01f7.zip |
Added OpenAPI document link to usage (#15535)
* Added OpenAPI document link to usage
The OpenAPI document at /api/swagger.v1.json needs an obvious reference. Sadly, I am English monolingual, so someone else is going to have to do the other languages. In the mean time, this PR should help anyone looking for the file.
* Update docs/content/doc/developers/api-usage.en-us.md
Co-authored-by: a1012112796 <1012112796@qq.com>
Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: a1012112796 <1012112796@qq.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'docs/content/doc/developers')
-rw-r--r-- | docs/content/doc/developers/api-usage.en-us.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/content/doc/developers/api-usage.en-us.md b/docs/content/doc/developers/api-usage.en-us.md index 5253cbaa18..15fedbe2c1 100644 --- a/docs/content/doc/developers/api-usage.en-us.md +++ b/docs/content/doc/developers/api-usage.en-us.md @@ -79,6 +79,9 @@ API Reference guide is auto-generated by swagger and available on: or on [gitea demo instance](https://try.gitea.io/api/swagger) +The OpenAPI document is at: +`https://gitea.your.host/swagger.v1.json` + ## Listing your issued tokens via the API As mentioned in |