mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Add HTML URL to API Issues (#9654)
* Add HTML URL to API Issues Signed-off-by: jolheiser <john.olheiser@gmail.com> * Swagger Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
		@@ -381,6 +381,7 @@ func (issue *Issue) apiFormat(e Engine) *api.Issue {
 | 
			
		||||
	apiIssue := &api.Issue{
 | 
			
		||||
		ID:       issue.ID,
 | 
			
		||||
		URL:      issue.APIURL(),
 | 
			
		||||
		HTMLURL:  issue.HTMLURL(),
 | 
			
		||||
		Index:    issue.Index,
 | 
			
		||||
		Poster:   issue.Poster.APIFormat(),
 | 
			
		||||
		Title:    issue.Title,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user