Fix raw parameters
https://swagger.io/docs/specification/2-0/describing-request-body/
This commit is contained in:
parent
3fbba2553a
commit
81b841f19d
|
|
@ -62,9 +62,12 @@ func MarkdownRaw(ctx *context.APIContext) {
|
|||
// ---
|
||||
// summary: Render raw markdown as HTML
|
||||
// parameters:
|
||||
// - name: body
|
||||
// in: body
|
||||
// type: string
|
||||
// - name: body
|
||||
// in: body
|
||||
// description: Request body to render
|
||||
// required: true
|
||||
// schema:
|
||||
// type: string
|
||||
// consumes:
|
||||
// - text/plain
|
||||
// produces:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user