mirror of
https://github.com/go-gitea/gitea.git
synced 2025-11-05 21:35:59 +01:00
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:
committed by
techknowlogick
parent
8b5f6ced22
commit
fada6968a8
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
|
||||
|
||||
Reference in New Issue
Block a user