make Release.Target a required parameter (#133)
This commit is contained in:
parent
d9394234b9
commit
6abdddefe3
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ func (c *Client) GetRelease(user, repo string, id int64) (*Release, error) {
|
|||
type CreateReleaseOption struct {
|
||||
// required: true
|
||||
TagName string `json:"tag_name" binding:"Required"`
|
||||
Target string `json:"target_commitish"`
|
||||
Target string `json:"target_commitish" binding:"Required"`
|
||||
Title string `json:"name"`
|
||||
Note string `json:"body"`
|
||||
IsDraft bool `json:"draft"`
|
||||
|
|
Loading…
Reference in a new issue