]> source.dussan.org Git - gitea.git/commitdiff
Added OpenAPI document link to usage (#15535)
authorNathan Zook <31952+NathanZook@users.noreply.github.com>
Tue, 20 Apr 2021 03:29:08 +0000 (20:29 -0700)
committerGitHub <noreply@github.com>
Tue, 20 Apr 2021 03:29:08 +0000 (23:29 -0400)
* 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>
docs/content/doc/developers/api-usage.en-us.md

index 5253cbaa1869855c3b48c29751f629e3a2f66793..15fedbe2c164d44c415ce8d5df27ec4f35c992b9 100644 (file)
@@ -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