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 @@ -506,18 +506,20 @@ func (p *WorkflowDispatchPayload) JSONPayload() ([]byte, error) {
506506// CommitStatusPayload represents a payload information of commit status event.
507507type CommitStatusPayload struct {
508508 // TODO: add Branches
509- Commit * PayloadCommit `json:"commit"`
510- Context string `json:"context"`
511- CreatedAt time.Time `json:"created_at"`
512- Description string `json:"description"`
513- ID int64 `json:"id"`
509+ Commit * PayloadCommit `json:"commit"`
510+ Context string `json:"context"`
511+ // swagger:strfmt date-time
512+ CreatedAt time.Time `json:"created_at"`
513+ Description string `json:"description"`
514+ ID int64 `json:"id"`
514515 // Name string `json:"name"`
515516 Repo * Repository `json:"repository"`
516517 Sender * User `json:"sender"`
517518 SHA string `json:"sha"`
518519 State string `json:"state"`
519520 TargetURL string `json:"target_url"`
520- UpdatedAt * time.Time `json:"updated_at"`
521+ // swagger:strfmt date-time
522+ UpdatedAt * time.Time `json:"updated_at"`
521523}
522524
523525// JSONPayload implements Payload
You can’t perform that action at this time.
0 commit comments