Fix new release creation API to allow empty target (#5870)
* Fix new release creation API to allow empty target * Add more test cases * Update swagger
This commit is contained in:
parent
8b5f6ced22
commit
fada6968a8
11 changed files with 168 additions and 348 deletions
3
vendor/code.gitea.io/sdk/gitea/hook.go
generated
vendored
3
vendor/code.gitea.io/sdk/gitea/hook.go
generated
vendored
|
@ -160,6 +160,9 @@ type PayloadCommit struct {
|
|||
Verification *PayloadCommitVerification `json:"verification"`
|
||||
// swagger:strfmt date-time
|
||||
Timestamp time.Time `json:"timestamp"`
|
||||
Added []string `json:"added"`
|
||||
Removed []string `json:"removed"`
|
||||
Modified []string `json:"modified"`
|
||||
}
|
||||
|
||||
// PayloadCommitVerification represents the GPG verification of a commit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue