From 54d225fc3414acc1679ac63cf060764daef60fa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=96stanb=C3=A4ck?= Date: Tue, 16 May 2017 23:36:40 +0200 Subject: [PATCH 1/2] Correct grammar in APIEmpty doc --- modules/context/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/context/api.go b/modules/context/api.go index 2068285c7adc1..7264214f370ad 100644 --- a/modules/context/api.go +++ b/modules/context/api.go @@ -37,7 +37,7 @@ type APIValidationError struct { URL string `json:"url"` } -//APIEmpty is a empty response +//APIEmpty is an empty response // swagger:response empty type APIEmpty struct{} From 5c7e9c433954c6bc650d833da5aedfa3f9966485 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=96stanb=C3=A4ck?= Date: Thu, 18 May 2017 16:01:27 +0200 Subject: [PATCH 2/2] Generate swagger.v1.json --- public/swagger.v1.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/swagger.v1.json b/public/swagger.v1.json index 6f8f30fcfee31..264ae52be6635 100644 --- a/public/swagger.v1.json +++ b/public/swagger.v1.json @@ -1269,7 +1269,7 @@ } }, "empty": { - "description": "APIEmpty is a empty response" + "description": "APIEmpty is an empty response" }, "error": { "description": "APIError is error format response",