Skip to content

Commit eac5a8b

Browse files
borisovanotechknowlogick
authored andcommitted
DOCS: add mention of swagger api reference (#8452)
It's(swagger api link) mentioned vaguely in the FAQ but IMHO missing from API usage page.
1 parent 1fe81bc commit eac5a8b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,14 @@ curl -X POST "http://localhost:4000/api/v1/repos/test1/test1/issues" \
6868
As mentioned above, the token used is the same one you would use in
6969
the `token=` string in a GET request.
7070

71+
## API Guide:
72+
73+
API Reference guide is auto-generated by swagger and available on:
74+
`https://gitea.your.host/api/swagger`
75+
or on
76+
[gitea demo instance](https://try.gitea.io/api/swagger)
77+
78+
7179
## Listing your issued tokens via the API
7280

7381
As mentioned in

0 commit comments

Comments
 (0)