This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/routers/api/v1/misc
6543 2848c5eb8f Swagger info corrections (#9441)
* use numbers and not http.Status___ enum

* fix test

* add many missing swagger responses

* code format

* Deletion Sould return 204 ...

* error handling improvements

* if special error type ... then add it to swagger too

* one smal nit

* invalidTopicsError is []string

* valid swagger specification 2.0
 - if you add responses swagger can tell you if you do it right 👍

* use ctx.InternalServerError

* Revert "use numbers and not http.Status___ enum"

This reverts commit b1ff386e24.

* use http.Status* enum everywhere
2019-12-20 19:07:12 +02:00
..
markdown.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
markdown_test.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
signing.go Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631) 2019-10-16 14:42:42 +01:00
swagger.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
version.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00