1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Add language statistics API endpoint (#11737)

* Add language statistics API

* Add tests
This commit is contained in:
Lauris BH
2020-06-07 14:48:41 +03:00
committed by GitHub
parent 94f60e199b
commit 2874ab54bc
5 changed files with 184 additions and 0 deletions

View File

@@ -302,3 +302,10 @@ type swaggerTopicNames struct {
// in: body
Body api.TopicName `json:"body"`
}
// LanguageStatistics
// swagger:response LanguageStatistics
type swaggerLanguageStatistics struct {
// in: body
Body map[string]int64 `json:"body"`
}