Skip to content

Commit

Permalink
Fix swagger errors (go-gitea#4220)
Browse files Browse the repository at this point in the history
Fix all the resting errors to have a valid swagger file.

They are still some warnings but nothing blocking.

Doing so I found that some request still misses son parameters for some POST/PUT/PATCH request. This means the a client generated from the swagger file will not work completely. 

Fix go-gitea#4088 by activating validation in drone
Should fix go-gitea#4010.
  • Loading branch information
sapk authored and appleboy committed Jun 12, 2018
1 parent 0ba165e commit 908e894
Show file tree
Hide file tree
Showing 15 changed files with 432 additions and 254 deletions.
1 change: 1 addition & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ pipeline:
- make lint
- make fmt-check
- make swagger-check
- make swagger-validate
- make misspell-check
- make test-vendor
- make build
Expand Down
Loading

0 comments on commit 908e894

Please sign in to comment.