summaryrefslogtreecommitdiffstats
path: root/routers/web/swagger_json.go
blob: fc39b504a920cbd6a55a44672185839bbf4e0db3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2020 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT

package web

import (
	"code.gitea.io/gitea/services/context"
)

// SwaggerV1Json render swagger v1 json
func SwaggerV1Json(ctx *context.Context) {
	ctx.JSONTemplate("swagger/v1_json")
}