mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 00:20:25 +08:00 
			
		
		
		
	Add missing description of label on API (#7159)
* add missing description of label on API * fix comment head * fix swagger
This commit is contained in:
		@@ -76,9 +76,10 @@ type Label struct {
 | 
			
		||||
// APIFormat converts a Label to the api.Label format
 | 
			
		||||
func (label *Label) APIFormat() *api.Label {
 | 
			
		||||
	return &api.Label{
 | 
			
		||||
		ID:    label.ID,
 | 
			
		||||
		Name:  label.Name,
 | 
			
		||||
		Color: strings.TrimLeft(label.Color, "#"),
 | 
			
		||||
		ID:          label.ID,
 | 
			
		||||
		Name:        label.Name,
 | 
			
		||||
		Color:       strings.TrimLeft(label.Color, "#"),
 | 
			
		||||
		Description: label.Description,
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user