File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -491,18 +491,20 @@ func (p *PackagePayload) JSONPayload() ([]byte, error) {
491491// CommitStatusPayload represents a payload information of commit status event.
492492type CommitStatusPayload struct {
493493 // TODO: add Branches
494- Commit * PayloadCommit `json:"commit"`
495- Context string `json:"context"`
496- CreatedAt time.Time `json:"created_at"`
497- Description string `json:"description"`
498- ID int64 `json:"id"`
494+ Commit * PayloadCommit `json:"commit"`
495+ Context string `json:"context"`
496+ // swagger:strfmt date-time
497+ CreatedAt time.Time `json:"created_at"`
498+ Description string `json:"description"`
499+ ID int64 `json:"id"`
499500 // Name string `json:"name"`
500501 Repo * Repository `json:"repository"`
501502 Sender * User `json:"sender"`
502503 SHA string `json:"sha"`
503504 State string `json:"state"`
504505 TargetURL string `json:"target_url"`
505- UpdatedAt * time.Time `json:"updated_at"`
506+ // swagger:strfmt date-time
507+ UpdatedAt * time.Time `json:"updated_at"`
506508}
507509
508510// JSONPayload FIXME
You can’t perform that action at this time.
0 commit comments