gitea/routers/api/v1/repo
Norwin 658d1bfac8
API: fix set milestone on PR creation ()
* API: fix set milestone on PR creation

pr creation via API failed with 404, because we searched
for milestoneID 0, due to uninitialized var usage D:

* add tests

* fix expected status codes

* fix tests

Co-authored-by: 6543 <6543@obermui.de>
..
blob.go Swagger info corrections ()
branch.go [API] Add pagination to ListBranches ()
collaborators.go Move macaron to chi ()
commits.go Move macaron to chi ()
file.go Add support for ref parameter to get raw file API ()
fork.go Move macaron to chi ()
git_hook.go Move macaron to chi ()
git_ref.go Swagger info corrections ()
hook.go Move macaron to chi ()
hook_test.go API endpoint for testing webhook ()
issue.go Move macaron to chi ()
issue_comment.go Move macaron to chi ()
issue_label.go Move macaron to chi ()
issue_reaction.go Move macaron to chi ()
issue_stopwatch.go Refactor: move Commit To APIFormat Code & Lot of StopWatch related things ()
issue_subscription.go [Refactor] Move APIFormat functions into convert package ()
issue_tracked_time.go Move macaron to chi ()
key.go Move macaron to chi ()
label.go Move macaron to chi ()
language.go Add language statistics API endpoint ()
main_test.go API endpoint for testing webhook ()
migrate.go Move macaron to chi ()
milestone.go Move macaron to chi ()
mirror.go Refactor api repo dir ()
pull.go API: fix set milestone on PR creation ()
pull_review.go Add dismiss review feature ()
release.go Create tag on ui ()
release_attachment.go Move macaron to chi ()
release_tags.go [API] Add delete release by tag & fix unreleased inconsistency ()
repo.go Prevent panic when editing forked repos by API ()
repo_test.go Move macaron to chi ()
star.go Remove page size limit comment from swagger ()
status.go Move macaron to chi ()
subscriber.go Remove page size limit comment from swagger ()
tag.go [API] Add delete release by tag & fix unreleased inconsistency ()
teams.go [API] List, Check, Add & delete endpoints for repository teams ()
topic.go Move macaron to chi ()
transfer.go Repository transfer has to be confirmed, if user can not create repo for new owner ()
tree.go Remove page size limit comment from swagger ()