From fd8e8a421ae21f8c68eaad195bdd4881e1d34b21 Mon Sep 17 00:00:00 2001 From: Antoine GIRARD Date: Mon, 21 Aug 2017 13:13:47 +0200 Subject: Improve swagger doc (#2274) * Add swagger comment for adminCreateOrg * Add swagger comment for admin route * add hook swagger doc * Add tags * Add auth * Fix name of responses * Edit name method * Update vendor * make generate-swagger --- routers/api/v1/misc/markdown.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'routers/api/v1/misc/markdown.go') diff --git a/routers/api/v1/misc/markdown.go b/routers/api/v1/misc/markdown.go index 0d346a9270..933488301b 100644 --- a/routers/api/v1/misc/markdown.go +++ b/routers/api/v1/misc/markdown.go @@ -14,7 +14,7 @@ import ( // Markdown render markdown document to HTML func Markdown(ctx *context.APIContext, form api.MarkdownOption) { - // swagger:route POST /markdown renderMarkdown + // swagger:route POST /markdown miscellaneous renderMarkdown // // Consumes: // - application/json @@ -52,7 +52,7 @@ func Markdown(ctx *context.APIContext, form api.MarkdownOption) { // MarkdownRaw render raw markdown HTML func MarkdownRaw(ctx *context.APIContext) { - // swagger:route POST /markdown/raw renderMarkdownRaw + // swagger:route POST /markdown/raw miscellaneous renderMarkdownRaw // // Consumes: // - text/plain -- cgit v1.2.3