0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-24 02:14:41 +01:00
gitea/routers/web/swagger_json.go

14 lines
277 B
Go
Raw Normal View History

// Copyright 2020 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package web
import (
"code.gitea.io/gitea/modules/context"
)
// SwaggerV1Json render swagger v1 json
func SwaggerV1Json(ctx *context.Context) {
ctx.JSONTemplate("swagger/v1_json")
}