1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-30 12:21:06 +00:00
forgejo/routers/api/v1
silverwind c8e0fd0bcc
Add spectral linter for Swagger ()
[spectral](https://github.com/stoplightio/spectral) lints
openapi/swagger files for mistakes of which it has identified a few and
which I've fixed.

I had to put it into `lint-frontend` because it depends on node_modules
so can not run on Drone during the backend target. I plan to refactor
these targets later to `lint-js` and `lint-go` so that they are
categorized based on the tool dependencies.
2022-07-11 18:07:16 -05:00
..
activitypub Add more linters to improve code readability () 2022-06-20 12:02:49 +02:00
admin Move almost all functions' parameter db.Engine to context.Context () 2022-05-20 22:08:52 +08:00
misc Move issues related files into models/issues () 2022-06-13 17:37:59 +08:00
notify Add more linters to improve code readability () 2022-06-20 12:02:49 +02:00
org Add spectral linter for Swagger () 2022-07-11 18:07:16 -05:00
packages Hide private repositories in packages () 2022-05-07 18:21:15 +02:00
repo Implement sync push mirror on commit () 2022-07-08 20:45:12 +01:00
settings Make mirror feature more configurable () 2021-09-07 17:49:36 +02:00
swagger Add spectral linter for Swagger () 2022-07-11 18:07:16 -05:00
user Only show Followers that current user can access () 2022-07-05 16:47:45 +01:00
utils Add more linters to improve code readability () 2022-06-20 12:02:49 +02:00
api.go User keypairs and HTTP signatures for ActivityPub federation using go-ap () 2022-06-19 07:25:12 +02:00
auth.go Remove legacy +build: constraint () 2022-05-02 23:22:45 +08:00
auth_windows.go Let web and API routes have different auth methods group () 2022-03-28 12:46:28 +08:00