From 2874ab54bccd7a4ebd6b8a51367eb8c1d9b16720 Mon Sep 17 00:00:00 2001 From: Lauris BH Date: Sun, 7 Jun 2020 14:48:41 +0300 Subject: Add language statistics API endpoint (#11737) * Add language statistics API * Add tests --- routers/api/v1/swagger/repo.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'routers/api/v1/swagger') diff --git a/routers/api/v1/swagger/repo.go b/routers/api/v1/swagger/repo.go index bcbc2b5fa9..bce9e45c37 100644 --- a/routers/api/v1/swagger/repo.go +++ b/routers/api/v1/swagger/repo.go @@ -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"` +} -- cgit v1.2.3