mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-31 11:52:10 +00:00
Add language statistics API endpoint (#11737)
* Add language statistics API * Add tests
This commit is contained in:
parent
94f60e199b
commit
2874ab54bc
5 changed files with 184 additions and 0 deletions
|
@ -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"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue