Skip to content

Commit 2242f38

Browse files
NathanZooktechknowlogicka1012112796lunny
authored
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 <[email protected]> Co-authored-by: techknowlogick <[email protected]> Co-authored-by: a1012112796 <[email protected]> Co-authored-by: Lunny Xiao <[email protected]> Co-authored-by: techknowlogick <[email protected]>
1 parent 3a49c00 commit 2242f38

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/content/doc/developers/api-usage.en-us.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ API Reference guide is auto-generated by swagger and available on:
7979
or on
8080
[gitea demo instance](https://try.gitea.io/api/swagger)
8181

82+
The OpenAPI document is at:
83+
`https://gitea.your.host/swagger.v1.json`
84+
8285
## Listing your issued tokens via the API
8386

8487
As mentioned in

0 commit comments

Comments
 (0)