klesh commented on code in PR #3927:
URL: 
https://github.com/apache/incubator-devlake/pull/3927#discussion_r1048065585


##########
plugins/github/models/repo.go:
##########
@@ -34,9 +34,10 @@ type GithubRepo struct {
        Language             string     `json:"language" 
gorm:"type:varchar(255)" mapstructure:"language,omitempty"`
        ParentGithubId       int        `json:"parentId" 
mapstructure:"parentGithubId,omitempty"`
        ParentHTMLUrl        string     `json:"parentHtmlUrl" 
mapstructure:"parentHtmlUrl,omitempty"`
+       CloneUrl             string     `json:"cloneUrl" 
gorm:"type:varchar(255)" mapstructure:"cloneUrl,omitempty"`
        CreatedDate          *time.Time `json:"createdDate" mapstructure:"-"`
        UpdatedDate          *time.Time `json:"updatedDate" mapstructure:"-"`
-       common.NoPKModel     `json:"-" mapstructure:"-"`
+       common.NoPKModel     `json:"-" mapstructure:"-" swaggerignore:"true"`

Review Comment:
   Will these make the `createdAt` `updatedAt` disappear from response body?
   if so, we should move it to :
   
![image](https://user-images.githubusercontent.com/61080/207522778-c8335142-f9cd-47bb-8306-1e523fe1182c.png)
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to