mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-11-02 07:21:02 +00:00
Fix Swagger JSON autogeneration issues. (#4845)
* Fix Swagger JSON.
Remove unnecessary schema references for the forbidden and empty responses
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Fix swagger API for CreateAccessToken
* Fix admin create org swagger
* Fix swagger for adminCreateRepo
* More swagger fixes
Set int64 format for those which are int64
Some more form fixes
* Fix swagger description of GET /repos/{owner}/{repo}/pulls
This commit is contained in:
parent
9b2fcadeef
commit
43f9233914
23 changed files with 298 additions and 66 deletions
|
|
@ -31,6 +31,7 @@ func Search(ctx *context.APIContext) {
|
|||
// in: query
|
||||
// description: ID of the user to search for
|
||||
// type: integer
|
||||
// format: int64
|
||||
// - name: limit
|
||||
// in: query
|
||||
// description: maximum number of users to return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue